Motorola i325 Spezifikationen Seite 12

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 161
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 11
iDEN i325 J2ME™ Developers’ Guide
Page 12
2004 Motorola, Inc.
2. Application Management
2.1. MIDlet Lifecycle
A MIDlet’s lifecycle begins once its MIDlet suite is downloaded to the device. From that point, the
Application Management Software (AMS) manages the MIDlet suite and its MIDlets. The user’s
primary user interface for the AMS is the Java Apps feature built into the device’s firmware.
From the Java Apps feature, the user can see each MIDlet suite on
the device or access the Java System menu item. If a MIDlet suite
has only a single MIDlet, then the MIDlet’s name is displayed in the
Java Apps menu for that MIDlet suite. Otherwise the MIDlet suite
name is displayed. Then when that MIDlet suite is highlighted, the
user can open the MIDlet suite and view the MIDlets in that MIDlet
suite.
The Java Apps Menu
From the Java Apps menu, the user can highlight a
MIDlet suite and bring up the About dialog for that
MIDlet suite. The About dialog contains:
MIDlet Suite Name
MIDlet Suite Vendor
MIDlet Suite Version
JAR Size (not installed only)
The number of MIDlets in the MIDlet Suite
MIDP and CLDC version requirements (not
installed only)
Flash usage, Program and Data Space
(installed only)
About Properties
for a MIDlet
2.2. MIDlet Suite Installation
From the Java Apps menu, the user can install MIDlet suites. A MIDlet suite must be installed before
any of its MIDlets can be executed. Installation involves extracting the classes from the JAR file and
creating an image that will be placed into Program Space. The resources are then extracted from the
JAR file and placed into Data Space. The JAR file is then removed from the device, thus freeing up
some Data Space where it was originally downloaded.
The space savings from removing the JAR file is one advantage of Installation. However, perhaps an
even greater advantage is that class loading is not done during run time. This means that a MIDlet
won’t experience slow-down when a new class is accessed. Furthermore, the MIDlet won’t have to
share the heap with classes have been class-loaded from the JAR file.
Java Apps
Snake
Java System
Run
Back
Download Apps
About
Vendor:
Name:
Motorola, Inc.
Next
Download Apps
Done
Seitenansicht 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 160 161

Kommentare zu diesen Handbüchern

Keine Kommentare