A JavaTM 2, Micro Edition platform (Java METM
Platform), Mobile Information Device Profile (
)
application is
an application targeted for mobile devices such as mobile phones, PDAs, and
two-way pagers. Such applications
conform
to both the Connected, Limited Device Configuration (
)
and MIDP.
A MIDP application, or "MIDlet Suite," typically consists of:
A Java Application Descriptor () file. This file contains a predefined
set of attributes (denoted by names that begin with MIDlet-) that
allows Application Management Software () to identify, retrieve, and install
the MIDlets.
A Java Archive (JAR) file. This contains:
Java classes for each MIDlet in the suite.
Java classes shared between MIDlets.
Resource files used by the MIDlets (for example, image files).
A manifest file describing the JAR contents and specifying attributes
used by the AMS to identify and install the MIDlet suite.
In the IDE, MIDlet Suites are managed as mobility
projects. Mobility projects are
executed through an emulator
platform, which simulates the execution of the application on a
specific mobile device. Using project
configurations and preprocessor
code blocks, you can define
conditions for multiple devices in a single set of code, enabling you
test and produce MIDlet suites for each device.