The JAR manifest is a text file included with a MIDlet suite. The manifest provides information about the contents of the JAR file.
In Java Studio Mobility, you can edit the JAR Manifest file in the Suite Editor.
The manifest contains the following attributes:
MIDlet-Name
. The name of the MIDlet suite that identifies
the MIDlets to the user.MIDlet-Version.
The version number of the MIDlet suite. The
application management software uses the version number for install actions
and upgrades, as well as communication with the user. MIDlet-Vendor.
The organization that provides the MIDlet
suite.MicroEdition-Profile.
The Java ME profile required, using the
same format and value as the system property microedition.profiles (for
example, MIDP-1.0).MicroEdition-Configuration.
The Java ME configuration
required, using the same format and value as the System property microedition.configuration (for
example, CLDC-1.0).MIDlet-n
. The name, icon, and class of each MIDlet in the
JAR file, separated by a comma.
MIDlet-n
attribute as a property
of a pointer MIDlet node or by adding MIDlets to the suite.Optional information that might be contained in the manifest includes:
MIDlet-Description.
The description of the MIDlet suite.MIDlet-Icon.
The name of a PNG file within the JAR file and
used to represent the MIDlet suite. The application management software displays
this icon to identify the suite. MIDlet-Info-URL.
A URL for information further describing
the MIDlet suite. MIDlet-Data-Size.
The minimum number of bytes of persistent
data required by the MIDlet. The device might provide additional storage
according to its own policy. The default is zero. MIDP 2.0 applications may also include the following information in the manifest:
MIDlet-Permissions:
Lists API permissions that are critical
to the operation of the MIDlet suite.MIDlet-Permissions-Opt:
Lists API permissions that might be
used but are not critical to the operation of the MIDlet suite. MIDlet-Extensions:
Lists optional APIs used by the MIDlet
suite.