Troubleshooting guide
270
BlackBerry Java Development Environment Development Guide
My_application.cod
</files>
5. Update the application, description, and other tags to reflect the purpose of the .alx file.
<application id="Push only to 8700">
...
<description>This will push the COD only to 8700s</description>
Example: Load an application on a specific BlackBerry device
<loader version="1.0">
<application id="Push only to 8700">
<name>Alien</name>
<description>This will push the COD only to 8700s</description>
<version>2006.02.14.1838</version>
<vendor>RIM</vendor>
<copyright>Copyright (c) 2001-2005</copyright>
<fileset series="8700" Java="1.0">
<files>
My_application.cod
</files>
</fileset>
</application>
</loader>
Specify optional components
In most cases, you do not need to change the .alx files that the BlackBerry® Integrated Development Environment
generates.
1. Open a text editor.
2. In the text editor, open the .alx file that you want to change.
3. To provide optional components for an application, in the .alx file, create a nested structure.
The .alx file uses an XML format:
Sample .alx file
<loader version="1.0">
<application id="com.rim.samples.device.httpdemo">
<name>Sample Network Application</name>
<description>Retrieves a sample page over HTTP connection.
</description>
<version>1.0</version>
<vendor>Research In Motion</vendor>
<copyright>Copyright 1998-2003 Research In Motion</copyright>
<language langid="0x000c">
<name>Application D'Échantillon</name>
<description>Obtenir une page du réseau
</description>
</language>
<fileset Java="1.0">
<directory>samples/httpdemo</directory>
<files>
net_rim_httpdemo.cod