Modifying Information For A Midlet Suite - 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
3.
In the .jad file, list the sibling .cod files separately. Use the following naming convention for sibling .cod files: name of
original .cod file - sequential number.
4.
Create a RIM-COD-URL-<#> parameter for each sibling .cod file, and place the name of the sibling file to the right
of this parameter. # is a number that starts at 1 and increases by 1 for each sibling file. Give each sibling .cod files the same
name as the original .cod file, followed by -<#>.
5.
Create a RIM-COD-Size-<#> parameter for each sibling .cod file, and place the size of the sibling file to the right of
this parameter. # is the same number that is appended to the name of the sibling file. Place the
RIM-COD-Size-<#> parameter immediately below the RIM-COD=URL-<#> parameter.
Example: Listing sibling .cod files in a .jad file
The following example contains two sibling files named myApp-1.cod and myApp-2.cod, after the original .cod file myAPP. The
developer appends the '.cod' file extension to each sibling file name. The developer creates a RIM-COD-Size-<#> parameter
for each sibling file.
Manifest-Version: 1.0
MIDlet-Version: 1.0.0
MIDlet-1: ,,
RIM-COD-Module-Dependencies: net_rim_cldc
MicroEdition-Configuration: CLDC-1.0
RIM-COD-Module-Name: MyApp
MIDlet-Name: My Application
RIM-COD-URL: myApp.codbRIM-COD-Size: 55000
RIM-COD-URL-1: myApp-1.cod
RIM-COD-Size-1: 50000
RIM-COD-URL-2: myApp-2.cod
RIM-COD-Size-2: 25000cxMicroEdition-Profile: MIDP-1.0

Modifying information for a MIDlet suite

You can use the Updatejad tool, part of the BlackBerry® Java® Development Environment, to process .jad files and perform the
following actions:
Correct the .cod file sizes listed in a .jad file. The .cod file sizes listed in the .jad file change after you use the BlackBerry®
Signing Authority Tool to sign .cod files.
Create .jad files that reference multiple .cod files.
Use the Updatejad tool only on .jad files created using the BlackBerry® Integrated Development Environment or the RAPC
command-line tool, and signed using the BlackBerry Signing Authority Tool .
The Updatejad tool commands have the following format:
updatejad.exe -q -n input.jad [additional.jad]
Distributing BlackBerry Java Applications over the wireless network
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents