Development Guide
Element
directory
files
94
Attributes
platformVersion
blackBerryVersion
—
Distributing BlackBerry device applications with the BlackBerry Desktop Software
Description
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 a BlackBerry
device 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>
The platformVersion attribute specifies the version of the
operating system software on a BlackBerry device that a
BlackBerry device application requires.
The blackBerryVersion attribute specifies the version of
the BlackBerry Device Software that a BlackBerry device
application requires.
The files element provides a list of one or more BlackBerry
device application .cod files, in a single directory, to load on the
BlackBerry device.