6jad attributes, Jad / manifest attribute implementations – Motorola HANDSET C381P User Manual

Page 27

Advertising
background image

6
JAD
Attributes

27

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

Attribute Description

JAR Manifest

JAD

MIDlet-Name

The name of the MIDlet suite that identifies

the MIDlets to the user

Yes

Yes

MIDlet-Version

The version number of the MIDlet suite

Yes

Yes

MIDlet-Vendor

The organization that provides the MIDlet

suite.

Yes

Yes

MIDlet-Icon

The case-sensitive absolute name of a

PNG file within the JAR used to represent

the MIDlet suite.

MIDlet-Description

The description of the MIDlet suite.

Advertising