34
For more information on downloading files using a WAP Browser, see the WAP SDK
Browser User Guide.
Installing Programs
This section provides a program checklist, and information on the running and exiting
programs on the Motorola T720 handset.
Installation Checklist
Here is a checklist of items to review before attempting to download a program to the
Motorola T720 handset for testing. Following this checklist will ensure that you don’t waste
testing time.
Application checklist:
• JAD file was created
• JAD file’s MIDlet-Jar-URL attribute correctly modified (See Over the Air (OTA)
Downloading for a description of this process.)
• JAR file contains META-INF/MANIFEST.MF
• Verify MIDlet-Name, MIDlet-Version, and MIDlet-Vendor
attributes are duplicated in both MANIFEST.MF and the JAD file
• Both JAD and JAR files have identical names (except for extensions)
• Names for JAD and JAR files are less than 32 characters (including extension)
• Less than 20 MIDlet suites are currently installed
• Maximum length of class path name inside JAR file is less than 64 characters
• Maximum length of URL path is less than 256 characters
• No more than ~500 files are used by the installed MIDlet suites
• JAR size listed in JAD matches actual JAR file size
• MIDlet suite version must be higher than an already installed version
Installation Troubleshooting
You may encounter one or more of the following errors while attempting to install an
application:
• Insufficient Memory–There is not enough data space (file system space) to store
the JAR file. Try removing other applications to free up data space so you can upload
the new JAR file.
• Memory Full–There is not enough heap space to uncompress and run the JAR file.
The JAR size should be predefined as a portion of heap space, typically no more
than 100K. If larger than 100K, the MIDlet normally cannot be installed and run.