O'Reilly logo

BlackBerry Hacks by Dave Mabe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hack #97. Deploy BlackBerry Applications

Here are three ways to package your applications to be easily deployed on BlackBerry handhelds.

One of the most important things to consider when planning the deployment of a BlackBerry application is to determine how your customers will transfer the application onto their handheld devices. For best results, it is highly recommended that you offer your customers as many options as possible.

BlackBerry applications are developed in the Java Development Environment (JDE) [Hack #93] and produce a COD file. However, you need more than a COD file to successfully deploy the application to a handheld.

This hack will discuss how to package applications for deployment through the BlackBerry Desktop Manager, for over-the-air deployment, and to be pushed onto the device.

Deploy via the BlackBerry Desktop Manager

The BlackBerry Desktop Manager was the first method developed to deploy third-party applications onto BlackBerry handhelds. This method allows you to load applications from a desktop computer to a handheld through serial or USB cables, and it works well for all devices.

The BlackBerry 85x and 95x devices were C++ based and used an ALI file to load the required DLL files onto the handhelds. ALI files are not discussed in this hack because current model BlackBerry devices do not support them.

Create an ALX file.

For current model BlackBerry devices (5000, 6000, and 7000 series) the BlackBerry Desktop Manager expects an ALX file. The purpose of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required