Install A Blackberry Device Application On A Specific Device; Specifing Supported Versions Of The Blackberry Device Software - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE Manual

Version: 4.7.0
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE:
Table of Contents

Advertisement

Development Guide

Install a BlackBerry device application on a specific device

1.
Open a text editor.
2.
Locate the .alx file for the BlackBerry® device application.
3.
In the .alx file, make sure the series attribute in the fileset opening tag refers to the BlackBerry device you want to install
the BlackBerry device application on.
<fileset series="8700" Java="1.0">
For more information about the series attribute, see the Platform.alx file located in the simulator directory of your BlackBerry®
Java® Development Environment installation directory:
Program Files\Research In Motion\BlackBerry JDE 4.6.0\simulator.
4.
Make sure the files tag contains a reference to the .cod file for your BlackBerry device application.
<files>
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>
Code sample: Loading a BlackBerry device 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>

Specifing supported versions of the BlackBerry Device Software

BlackBerry® device applications that use APIs that are only available on particular versions of the BlackBerry® Device
Software should specify the supported BlackBerry device versions using the _blackberryVersion attribute.
100
Install a BlackBerry device application on a specific device

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents