Java ME Developer Guide

Chapter 19 - Downloading MIDlet through Browser

There are two distinct cases when a Memory Full error can occur during the download process. Memory Full will be displayed when the device does not have enough memory to completely download the MIDlet. The JAD of the MIDlet has two attrib- utes, Mot-Data-Space-Requirements and Mot-Program-Space-Requirements. If an application developer adds these attributes to their JAD file, a Motorola device can determine if enough memory exists on the phone before the MIDlet is downloaded. These attributes may or may not be provided in all MIDlets. Two separate prompts will be displayed depending on whether these attributes are present.

In cases where there is not enough memory to download the application, the user MUST be given a message to delete existing applications in order to free additional memory. The following messages and screen flows will be displayed depending on whether specific JAD attributes are present or not:

DRAFT - Subject to Change [138/201]

Page 138
Image 138
Motorola maxx V6 manual Draft Subject to Change 138/201