5application management, Downloading a jar file without a jad, Midlet upgrade – Motorola HANDSET C381P User Manual

Page 24

Advertising
background image

5
Application
Management

24

5

Application Management

The following sections describe the application management scheme for the Motorola C381p handset. This
chapter will discuss the following

:

• Downloading a JAR without a JAD
• MIDlet upgrade
• Installation and Deletion Status Reports
• System Menu

Downloading a JAR file without a JAD

In Motorola’s MIDP 2.0 implementation, a JAR file can be downloaded without a JAD. In
this case, the user clicks on a link for a JAR file, the file is downloaded, and a confirmation
will be obtained before the installation begins. The information presented is obtained from
the JAR manifest instead of the JAD.

MIDlet Upgrade

Rules from the JSR 118 will be followed to help determine if the data from an old MIDlet
should be preserved during a MIDlet upgrade. When these rules cannot determine if the
RMS should be preserved, the user will be given an option to preserve the data.
The following conditions are used to determine if data can be saved:

• If the cryptographic signer of the new MIDlet suite and the original MIDlet suite

are identical, then the RMS record stores MUST be retained and made available
to the new MIDlet suite.

• If the URL of the new MIDlet suite is identical to the URL the original MIDlet suite

was downloaded from, then the RMS MUST be retained and made available to
the new MIDlet suite.

• If the above statements are false, then the device MUST ask the user whether

the data from the original MIDlet suite should be retained and made available to
the new MIDlet suite.

Advertising