Troubleshooting guide

C
Appendix: .alx files
Elements in BlackBerry application .alx files
Elements in BlackBerry application .alx files
Element Attributes Description
application id
The application element contains the elements for a single application.
The application element can also contain additional nested application elements. Nesting lets you
require that, when an application loads onto the BlackBerry® device, its prerequisite modules also load
onto the BlackBerry device.
The id attribute specifies a unique identifier for the application. To provide uniqueness, use an ID that
includes your company domain in reverse order. For example,
com.rim.samples.docs.helloworld.
copyright
The copyright element provides copyright information, which appears in the Application Loader.
description
The description element provides a brief description of the application, which appears in the
Application Loader.
directory
The directory element provides the location of a set of files. The directory element is optional. If you
do not specify a
directory, the files must exist in the same location as the .alx file. The directory
element specifies the directory relative to the location of the .alx file.
Directory elements are cumulative within an application.
For example:
<application id="com.abc.my.app">
<directory>MyCodFiles</directory>
<fileset Java="1.0">
<files>
a.cod //resolves to <.alx location>\MyCodFiles
b.cod
</files>
</fileset>
<directory>MyCodFiles</directory>
<fileset Java="1.0">
<files>
c.cod //resolves to <.alx location>\MyCodFiles\MyCodFiles
d.cod
</files>
</fileset>
</application>
files
The files element provides a list of one or more application .cod files, in a single directory, to load onto
the BlackBerry device.