Creating a BlackBerry device application
Create a basic BlackBerry device application
Create a BlackBerry device application with advanced UI features
Create a basic BlackBerry device application
In this section, you create a BlackBerry® device application that displays the text 'Hello World!' on the BlackBerry
smartphone screen. When a BlackBerry smartphone user selects the Close menu item from the menu of the
BlackBerry device application , the BlackBerry device application displays a dialog box with the text 'Goodbye!'.
Create a project for the HelloWorld application in an Eclipse workspace
1.
On the File menu, click New > Project.
2. Expand the BlackBerry folder.
3. Select BlackBerry project.
4. Click Next.
5. In the Project name field, type HelloWorld.
6. Click Next.
7. Click Finish.
Set the information and type for the project for the HelloWorld application
1.
In the Navigator view, select a BlackBerry project.
2. Right-click the project and select Properties.
3. In the Properties for pane, select BlackBerry Project Properties.
4. Click the General tab.
5. In the Title field, type Hello World Sample.
6. In the Version field, type a version number.
7. In the Vendor field, type a vendor name, for example, Research In Motion Ltd.
8. Click the Application tab.
9. In the Project type drop-down list, select the CLDC option.
10. Click OK.
2
Need help?
Do you have a question about the JAVA DEVELOPMENT ENVIRONMENT and is the answer not in the manual?
Questions and answers