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 http://na.blackberry.com/eng/developers/.
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.
You can now use the application on your BlackBerry smartphone.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|