Use the BlackBerry Custom Code stock screen to design device application screens with custom coding.
- Create a new device application.
- Select BlackBerry as the device platform. This determines which stock screens appear.
- Click Flow Design.
- From , select BlackBerry Custom Code.
- Drag and drop the BlackBerry Custom Code screen onto the Flow Design page.
- 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.
- Click Create Screen Class to create a new Java class for the custom screen.