The JDE generated the following JAD file for the FirstApp project:
Manifest-Version: 1.0 |
As you can see, this .jad file includes both standard JAD properties and RIM-specific properties. It's a dual-purpose JAD, that supports downloading of MIDlets to BlackBerry devices, and to other devices as well. The properties RIM-COD-URL and MIDlet-Jar-URL ensure that BlackBerry users can download the .cod file, while users of other devices download the .jar.
Some of RIM's JAD properties are required, others are optional. Here are the required properties:
RIM-COD-Creation-Time: the time the.codfile was createdRIM-COD-Module-Dependencies: a list of modules the.codfile requiresRIM-COD-Module-Name: the name of the module contained in the.codfileRIM-COD-SHA1: the SHA1 hash of the.codfileRIM-COD-SIZE: the size of the.codfile, in bytesRIM-COD-URL: the URL from which the.codfile can be downloaded
The optional properties are:
RIM-Library-Flags: reserved for use by RIMRIM-MIDlet-Flags: reserved for use by RIMRIM-MIDlet-NameResourceBundle: the name of the resource bundle the application depends onRIM-MIDlet-Position: the suggested position of the application icon on the home screen
No comments:
Post a Comment