Motorola C370 ユーザーズマニュアル

ページ / 86

Downloading Applications  
 
17 
Program space is used to store class files. 
Data space is used to store the JAR files before installation and resource files after 
installation. After installation, the JAR file is destroyed. 
Then to install the MIDlet Suite, select the “Java Application Loader” option and press the 
SELECT soft key. A dialogue will be displayed indicating the serial cable is connected to 
the device. Execute the MIDway tool on PC, select and send the desired MIDlet to be 
installed. The MIDway tool indicates exactly which steps are being executed. 
Java Application Installer/De-Installer (JAID) 
JAID is a component built into the Motorola KVM to handle installation and de-installation 
of Java applications to a device.  The process of installing an application is time intensive 
involving loading of the class files from the JAR file and writing the image, in a platform-
specific manner, to memory.  By installing Java applications, class files do not have to be 
stored in RAM, allowing more runtime memory for the application at hand.  Additionally, 
the time required to launch Java applications is decreased dramatically. 
After successful installation, the class files are placed in the Program space and the 
resource files are placed in the Data space.  The original JAR file is then destroyed. 
Applications only need to be JAID installed once.  If the Motorola C370, C450, and C550 
series of handsets’s software is upgraded, Java applications must be re-installed. 
Once the application is done the user can launch the MIDlet right after installation using 
the Autorun After Install Feature.  
If you cancel the installation progress screen while the MIDlet Suite is still being installed, 
the installation will fail, and you must repeat all installation procedures again. 
Starting Applications  
Often times a MIDlet Suite only contains one MIDlet. If so, then that MIDlet can be 
launched from the Games & Apps menu simply by highlighting that MIDlet Suite and 
pressing the “SELECT” soft key. 
If there are multiple MIDlets in the Suite, then a suite content menu will be displayed, and 
one of the individual MIDlets can be highlighted. From there, pressing the “RUN” soft key 
will launch the selected MIDlet. 
Exiting Applications 
During the development process, chances are a MIDlet may not exit properly via the 
“correct” and “elegant” method.  The Motorola C370, C450, and C550 series of handsets’s 
policy on Java applications is to allow the user to exit an application at anytime, either 
forcefully or via a menu option.  If an application, during the development process, 
becomes unstable or fails to respond, the user/developer may end the application by 
pressing the END key.