Packaging and distributing a BlackBerry Java Application
10
Preverify a BlackBerry device application
To reduce the amount of processing the BlackBerry® device performs when you load your BlackBerry device application, partially
verify your classes. You may also use the BlackBerry® Smartphone Simulator to preverify .cod files.
At the command prompt, type:
preverify.exe [-d] output -classpath directory input; directory
Application distribution over the wireless network
You can distribute your applications over the wireless network to help provide a better experience to BlackBerry® device users
and to simplify application distribution to a large group of people since you do not require a computer application. A BlackBerry
device user can install your applications over the wireless network.
Wireless pull (user-initiated)
You can post compiled applications on a public or private web site. BlackBerry® device users can visit the web site to download
the applications over the wireless network by using the browser on their BlackBerry devices. The browser prompts the users to
install the application and then the application downloads over the wireless network and installs on the BlackBerry device.
Wireless push (server-initiated)
In the BlackBerry® Enterprise Server environment , the administrator can push applications to BlackBerry device users over the
wireless network for mandatory installation. The administrator creates a new policy and specifies that the BlackBerry device
requires the application. The application is pushed to users without any user interaction required. Organizations might find this
approach useful when sending new applications to a large number of BlackBerry device users.
Distributing BlackBerry Java Applications over the wireless network
Extract sibling .cod files.
To ensure a BlackBerry® device user does not override the original .cod file, on the content server, extract the sibling .cod files
into a different directory than the directory where the original file exists.
1.
Unzip the original .cod file and extract the sibling .cod files.
2.
Place each sibling .cod file on a content server.
Development Guide
Packaging and distributing a BlackBerry Java Application
90