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>

Index


Was this information helpful? Send us your comments.