Generating a BlackBerry Device Application

Use the Generate Device Application wizard to generate the device application code.

Prerequisites 

Verify the device application and fix any errors that are found. Device applications with errors cannot be generated.

  1. Click the Verify icon check_16 on the toolbar to verify the device application has no errors.
  2. Click the code generation icon generate_deviceclient_16 on the toolbar.
  3. In the Generate Device Application wizard, in Device Platform, select BlackBerry, then select from these options:
    Option Description
    Locale Expand this section to see a list of available locales from which you can select. The default is none, and the generation proceeds with whatever is used in the current device application.
    Advanced Expand this section for advanced options:
    • Check mobile business object on Sybase Unwired Platform Server – select to verify that the mobile business objects that are used in the device application exist on the corresponding Unwired Server.
    • Mobile Business Object Group – the mobile business object group that contains the mobile business objects you want to verify. Click Generate Code to launch the Generate Code wizard.
  4. Click Next.
  5. In the Generate Device Application wizard, enter the information, then click Finish:
    Option Description
    Favorite Configurations (Optional) Select a saved configuration from the drop-down list.
    Locations
    • Copy to Simulator Location – the filepath to the location of the JDE 4.2.1 compatible simulator you want to use for development and testing.
    • Start the Simulator After Copying – select to start the simulator after you generate the device client application. Click Start MDS if a connection to the mobile business object is required. This is a one-time action. Once the MDS is running, it does not have to be restarted.
    • Disable Signing – disables the signing process for testing only. This option is available only when you are copying the generated COD files to a simulator location for testing.
    • Copy to Desktop Location – the location where you want to copy the generated .cod files.
    • Copy to Workspace Location – the location for the workspace to which you want to copy the device client application.
    Advanced
    • Open the generated folder under Windows Explorer – select this option to open the generated folder under Windows Explorer when code generation is complete. This is useful to locate the generated source so you can move it to a JDE project or for custom coding.
    • Generated artifacts location – this option indicates the location of the folder where all the code is generated. The default is \Sybase\UnwiredPlatform-1_2\uepworkspace\.metadata\.plugins\com.sybase.uep.bob.rim. Click Browse to change the location.

      Click Restore to restore to the default location

    • Clear Generated Source Folder – remove all files from the generated source folder before generating a new client.
    • Use JDK Path – enter the path for the rapc.exe compiler from RIM.
Related concepts
API Documentation


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com