Migrate BlackBerry Object API applications from 2.1 ESD #3 to version 2.2 using an
Eclipse 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 the BlackBerry project in
Eclipse:
- Navigate to tab, and reference:
- sup_client2.jar
- UltraliteJ12.jar
- Navigate to the Order and Export tab, and check to
make sure the sup_client2.jar file is included in your
application JAR file.
- Copy the generated key file (for example, suptest.key) to the
project src 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.