Use the Custom Code stock screen to design a screen with custom coding.
The ability to design device applications with custom coding is provided through the stock screen interface.
- Create a new device application.
- Select 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 Configure to configure the Custom Code 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.