Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - Java Programming » Tutorial: Building a BlackBerry application » Part 1: Creating a new BlackBerry application


Lesson 6: Deploying your application to a BlackBerry smartphone

There are several ways to deploy applications to BlackBerry smartphones. This lesson explains how to deploy the application using the BlackBerry Desktop Manager software.

Applications running on a BlackBerry must be signed using the BlackBerry Signature Tool. This tool is available from Research in Motion (RIM) as part of the BlackBerry JDE Component Package. The UltraLiteJ12.cod file is already signed, but you must sign the HelloBlackBerry.cod file.


You must obtain a key from RIM so that you can use the BlackBerry Signature Tool to sign your application. For more information about obtaining keys, see the BlackBerry Developer Program web site at [external link]

 Sign and deploy your application
  1. Start the BlackBerry Signature Tool.

  2. Run the following command from the \bin directory of your BlackBerry JDE installation (for example, C:\Program Files\Research in Motion\BlackBerry JDE 6.0.0\bin).

    start javaw -jar SignatureTool.jar
  3. Browse to C:\HelloBlackBerry and select the HelloBlackBerry.cod file, your compiled application.

  4. Click Request To Sign The File.

  5. Click Close to close the signature tool.

  6. Connect your BlackBerry to your computer using the USB cable, and ensure that the BlackBerry Desktop Manager can see the device.

  7. Click Application Loader and follow the instructions in the wizard.

  8. Browse to the HelloBlackBerry.alx file and add it to your device.

  9. Browse to the BlackBerry4.2\UltraLiteJ.alx file and add it to your device.

    You can now use the application on your BlackBerry smartphone.