Lesson 6: Deploy application to 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 UltraLiteJ.cod file is already signed, but you must sign the HelloBlackBerry.cod file.

Note

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, visit the BlackBerry Developer Program web site at [external link] http://na.blackberry.com/eng/developers/.

Signing the application
  1. Start the BlackBerry Signature Tool.

  2. Browse to and select your compiled application, the HelloBlackBerry.cod file.

  3. Click Request To Sign The File.

  4. Click Close to close the signature tool.

Deploying the application

These steps describe how to deploy your file to the device using the BlackBerry Desktop Manager.

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

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

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

  4. Browse to the J2meRim11\UltraLiteJ.alx file and add it to your device.

You should now be able to use the application on your BlackBerry smartphone.