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 http://na.blackberry.com/eng/developers/.
Context and remarks
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.
Start the BlackBerry Signature Tool.
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
Browse to C:\HelloBlackBerry and select the HelloBlackBerry.cod file, your compiled application.
Click Request To Sign The File.
Click Close to close the signature tool.
Connect your BlackBerry to your computer using the USB cable, and ensure that the BlackBerry Desktop Manager can see the device.
Click Application Loader and follow the instructions in the wizard.
Browse to the HelloBlackBerry.alx file and add it to your device.
Browse to the BlackBerry4.2\UltraLiteJ.alx file and add it to your device.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|