Blackberry JAVA DEVELOPMENT ENVIRONMENT Manual de introducción - Página 11
Navegue en línea o descargue pdf Manual de introducción para Software Blackberry JAVA DEVELOPMENT ENVIRONMENT. Blackberry JAVA DEVELOPMENT ENVIRONMENT 32 páginas. Version 4.7.0
También para Blackberry JAVA DEVELOPMENT ENVIRONMENT: Nota de publicación (8 páginas)
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