Create A Blackberry Device Application With Advanced Ui Features; Create A Project For A Cityinfo Application In An Eclipse Workspace; Set The Information And Type For The Project For The Cityinfo Application - Blackberry JAVA DEVELOPMENT ENVIRONMENT Getting Started Manual

Device application development
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT:
Table of Contents

Advertisement

Getting started guide
//Add the text "Hello World!" to the screen.
add(new RichTextField("Hello World!"));
}
//To display a dialog box to a BlackBerry smartphone user with the text
//"Goodbye!" when the BlackBerry smartphone user closes the BlackBerry device
application, override the onClose() method.
public boolean onClose()
{
Dialog.alert("Goodbye!");
System.exit(0);
return true;
}
}
Create a BlackBerry device application with advanced UI
features

Create a project for a CityInfo 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 CityInfo.
6. Click Next.
7. Click Finish.

Set the information and type for the project for the CityInfo 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 City Info 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 tab.
9. In the Project type drop-down list, select the CLDC option.
16

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the JAVA DEVELOPMENT ENVIRONMENT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents