Classes the implement the graphical application manager.
Application Manager Example
The Application Manager component is an example user interface for managing
existing applications. The component enables the user to perform various
actions on installed MIDlet suites. It provides the ability to perform the
following tasks:
- Show a list of installed applications
- Show information about an application
- Show the Sun copyright.
- Delete a MIDlet suite
- Invoke a selected MIDlet
- Modify a MIDlet suite's security permission level
Detailed Design
The example application manager is implemented as three MIDlets in the
com.sun.midp.appmanager package. All of the MIDlets use the
MIDletSuiteStorage class in the com.sun.midp.midletsuite package
to access persistent application storage services.
The Manager class implements application selection. For
maximum code reuse, the application information and security settings are
implemented in the AppInfo and AppSettings classes.
The Manager always has at least one application, the example
Discovery Application. The figure below shows the dependencies between
classes.
To highlight a newly-installed MIDlet suite on startup (a user-experience
feature), the Manager checks the RMS record store of the
internal suite, find any MIDlet suite identifiers (suiteIDs) written by the
Graphical Installer MIDlet. If it finds a suiteID, the Manager
highlights the corresponding MIDlet suite, then erases the suiteID from the
record store.
|