Open main menu

CDOT Wiki β

Teams Winter 2011/team1/BlackBerry/Create BlackBerry Project

1. Create BlackBerry Project

1.1. Download and install BlackBerry Java Plug-in for Eclipse and the approptiate simulator.
1.2. Launch Eclipse.
1.3. Create New BlackBerry Project : File -> New -> BlackBerry Project:
 
1.4. Specify a unique project name and package name and click Finish
1.5. A new BlackBerry Project is created with two classes in src: MyApp.java that extends UiApplication class and MyScreen.java that extends MainScreen class.
1.6. In MyScreen.java class set the title of the application:

  public MyScreen()
    {       
        // Set the displayed title of the screen      
        setTitle("Contact List");
    }

1.7. Now the new elements can be added to the screen object.