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

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


Lesson 6: Deploying your application to a BlackBerry smartphone

This lesson explains how to sign and deploy the application using the BlackBerry Desktop Manager software.


This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a new BlackBerry project.

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]

Contexte et remarques

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 UltraLiteJ16.cod file is already signed, but you must sign the HelloBlackBerry.cod file.

  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.


The application is deployed and you can run the application on your BlackBerry smartphone.