Designing a BlackBerry Custom Code Screen

Use the BlackBerry Custom Code stock screen to design device application screens with custom coding.

  1. Create a new device application.
  2. Select BlackBerry as the device platform. This determines which stock screens appear.
  3. Click Flow Design.
  4. From Palette > Stock Screens, select BlackBerry Custom Code.
  5. Drag and drop the BlackBerry Custom Code screen onto the Flow Design page.
  6. In the Screen Design Properties view, click Stock Screen. The available properties are determined by the device platform you selected.

    You can also drag and drop a source file that implements the correct screen interface. This creates the stock screen item in the flow and automatically sets up all the fields.

  7. Click Create Screen Class to create a new Java class for the custom screen.