Migrate
BlackBerry Object API applications from 2.1 ESD #3 to version 2.2 using a BlackBerry JDE
project.
- Download the BlackBerry
signer tool, and install it in your development environment: https://swdownloads.blackberry.com/Downloads/entry.do?code=D82118376DF344B0010F53909B961DB3.
- After
installing the signer tool, generate a new key file (for example:
suptest.key).
- Create a BlackBerry library project in the IDE, add
sup_client2.jar to the project, and then build it.
- Create an empty BlackBerry project in the IDE:
- Navigate to Configure Build Path, and import JAR
files:
- UltraliteJ12.jar
- ULjDatabaseTransfer.jar
- Navigate to the Project Dependencies tab, and check
the library project.
- Copy the generated key file (for example, suptest.key to the
project root folder.
- In your
application source code, set the new key file (suptest in this
example):
com.sybase.mobile.Application.getInstance().setApplicationIdentifier(end2end.test.Const.ApplicationIdentifier,
"suptest");
- Build your
project, and run the application on a simulator to test it.
- When you are ready to run the application on a real device, sign the .cod files
using the signature tool. After you
sign the .cod files with the BlackBerry signature tool, use the File Signer that
you installed in step 1 to sign the .cod file again.
- Install the cod files on the device using provisioning procedures, and run the
application.