Motorola maxx V6 manual JAD Attributes, JAD / Manifest Attribute Implementations

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 172
Image 172

Java ME Developer Guide

Chapter 24 - JAD Attributes

24 JAD Attributes

24.1JAD / Manifest Attribute Implementations

The JAR manifest defines attributes to be used by the application management soft- ware (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 ap- plication 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. Table 31 lists all MIDlet attributes, descriptions, and its location in the JAD and/or JAR manifest that are supported in the Motorola implementation. Please note that the MIDlet will not install if the MIDlet-Data-Size is greater than 512k.

Attribute Name

Attribute Description

JAR

JAD

 

 

Manifest

 

MIDlet-Name

The name of the MIDlet suite that

Yes

Yes

 

identifies the MIDlets to the user

 

 

MIDlet-Version

The version number of the MIDlet

Yes

Yes

DRAFT - Subject to Change [172/201]

Page 172
Image 172
Motorola maxx V6 manual JAD Attributes, JAD / Manifest Attribute Implementations, Draft Subject to Change 172/201