This is your resource to discuss support topics with your peers, and learn from each other.
Note: Before beginning these labs, you will need to download BlackBerry® Java® Development Environment tools.
Write a basic application for a BlackBerry® device that displays the message "Hello World!" to users.
Discover how to use the integrated development environment (IDE).
Discover how a BlackBerry application is organized.
Discover some of the basics of BlackBerry user interface APIs.
In the IDE, open the helloworld.jdw workspace
Open the helloworld.java source file.
Add code to the main() method to start the application.
Define a constructor for your application to display HelloWorldScreen.
Add code to the HelloWorldScreen inner class to set the title for the screen, for example, "HelloWorld Sample".
Add code to display the text "Hello World!"
Add code to the onClose() method to display a dialog box with the text "Goodbye!" when the user closes your application.
In this exercise, you discovered the following things:
how to write, compile, and run applications in the IDE
how to start an application
how to create a screen and add a title and text fields to it
how to define an action when the user closes an application