6

JAD Attributes

6 JAD Attributes

JAD / Manifest Attribute Implementations

The JAR manifest defines attributes to be used by the application management software (AMS) to identify and install the MIDlet suite. These attributes may or may not be found in the application descriptor.

The application descriptor is used, in conjunction with the JAR manifest, by the application management software to manage the MIDlet. The application descriptor is also used for the following:

By the MIDlet for configuration specific attributes

Allows the application management software on the handset to verify the MIDlet is suited to the handset before loading the JAR file

Allows configuration-specific attributes (parameters) to be supplied to the MIDlet(s) without modifying the JAR file.

Motorola has implemented the following support for the MIDP 2.0 Java Application Descriptor attributes as outlined in the JSR-118. The Table 5 ists all MIDlet attributes, descriptions, and its location in the JAD and/or JAR manifest that are supported in the Motorola implementation.

Attribute Name

MIDlet-Name

MIDlet-Version

MIDlet-Vendor

MIDlet-Icon

MIDlet-Description

 

Attribute Description

JAR Manifest

JAD

 

 

 

 

 

The name of the MIDlet suite that identifies

Yes

Yes

 

the MIDlets to the user

 

 

 

 

 

 

 

The version number of the MIDlet suite

Yes

Yes

 

 

 

 

 

The organization that provides the MIDlet

Yes

Yes

 

suite.

 

 

 

 

 

 

 

The case-sensitive absolute name of a

 

 

 

PNG file within the JAR used to represent

 

 

 

the MIDlet suite.

 

 

 

 

 

 

 

The description of the MIDlet suite.

 

 

 

 

 

 

 

 

 

 

27

Page 27
Image 27
Motorola C381P technical manual JAD Attributes, JAD / Manifest Attribute Implementations