Troubleshooting guide
269
18: Packaging and distributing applications
Distributing applications with the BlackBerry Desktop
Software
Create an application loader file
1. Create an .alx file for each application, and then distribute the .alx file with the .cod files to BlackBerry®
device users. See the
Application Loader Online Help for more information about .alx files.
2. In the BlackBerry Integrated Development Environment, select a project.
3. On the Project menu, click Generate .alx file.
Load an application on a specific BlackBerry device
1. Open a text editor.
2. Locate the .alx file for the application.
3. In the .alx file, make sure the series attribute in the fileset opening tag refers to the BlackBerry® device you
want the application to load on.
<fileset series="8700" Java="1.0">
For more information about the series attribute, see Platform.alx located in the simulator directory of your
BlackBerry Java™ Development Environment installation directory:
Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator.
4. Make sure the files tag contains a reference to the .cod file for your application.
<files>
Deployment method Description
Application Loader tool of the BlackBerry®
Desktop Manager
The Application Loader tool of the BlackBerry Desktop Manager lets you install third-party
applications as well as updated system software for the BlackBerry device. It lets BlackBerry
device users download applications on their computers and install them on their BlackBerry
devices.
BlackBerry Application Web Loader With the BlackBerry Application Web Loader, you can post your compiled application on a
central web site and BlackBerry device users can install the application by using Microsoft®
Internet Explorer® on their computers to visit the URL. When BlackBerry device users visit the
web page, they are asked to connect their devices to their USB ports. The application is then
installed using an ActiveX® control. The BlackBerry Application Web Loader provides a simple
approach for installing applications from your desktop and does not require the BlackBerry
device user to run the BlackBerry Desktop Manager.
Javaloader Command Line Tool The BlackBerry Java™ Development Environment includes a command line tool called
Javaloader.exe. The executable file exists in the BIN directory under the JDE installation.
Javaloader can be used to quickly install and remove compiled application files on the
BlackBerry device directly over the USB port and does not require any descriptor files or web
pages. Javaloader can be useful when you are installing and removing your application
frequently during testing and development;. however, Javaloader is not a tool that BlackBerry
device users would use.