Application Management; Downloading Ajar File Without Ajad; Midlet Upgrade - Motorola E680 - Smartphone - GSM Developer's Manual

Micro edition (j2me) applications
Hide thumbs Also See for E680 - Smartphone - GSM:
Table of Contents

Advertisement

The following sections describe the application management scheme for the Motorola
E680 handset. This chapter will discuss the following:
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 data cannot be saved, the user will be warned about losing data. If the user
proceeds, the application will be downloaded. If the user decides to save the data from
the current MIDlet, the data will be preserved during the upgrade and the data will be
made available for the new application. In any case, an unsigned MIDlet will not be
allowed to update a signed MIDlet.
20

Application Management

Downloading a JAR without a JAD
MIDlet upgrade
Installation and Deletion Status Reports
The data is saved if the new MIDlet-version is the same or newer, and if the new
MIDlet-data-space requirements is the same or more than the current MIDlet.
The data is not saved if the new MIDlet-data-space requirement is smaller than
the current MIDlet requirement.
The data is not saved if the new MIDlet-version is older than the current version.
5

Advertisement

Table of Contents
loading

Table of Contents