Generating Code For Testing on a BlackBerry Simulator

Use the Generate Device Application wizard to generate a device application for development and testing on a simulator.

Prerequisites

You must have an existing mobile application project and the BlackBerry JDE or the BlackBerry Java plug-in installed.

Task
  1. Right-click on any page (except the Introduction page) of the Device Application Designer and select Generate Device Application. Or, click on the Generate Device Application icon generate_deviceclient_16 in the toolbar.
  2. In the Generate Device Application Designer wizard, under Device Platform, select BlackBerry and click Next.
  3. In the next page, select from these options: Copy to Simulator location and accept the default, or click Browse to select the location to which to copy the generated code.
    Option Description
    Deploy the BlackBerry application Select this option to deploy the device application to the BlackBerry Simulator for testing.
    BlackBerry rapc compiler The BlackBerry JDE rapc compiler location. This determines the operating system version of the generated BlackBerry application.
    Copy to Simulator location The Simulator location is the filepath to the location of the compatible simulator you want to use for development and testing.
    • Start the BlackBerry Simulator after copying – select to start the BlackBerry Simulator after the files are copied to the specified location.
    • Start MDS automatically – select to connect to the mobile business object for testing. If the MDS is already running, you do not have to restart it.
    • Disable signing – disables signing for testing purposes.
  4. Click Finish.
    The code is generated and copied to the specified simulator location.