Over-The-Air download of a VT Mobile Trading System application file can be successful, but the installation may still fail if the unpacked JAR file is larger than your phone device memory size.
Even when there is enough memory on the device to download the JAR file, there may still not be enough memory for the installation.
We will provide tips and directions on how it may be possible to avoid this problem when providing a JAR file for the handset.
Regardless of the nature of the MIDlet, there are two files associated with each Java application:
- The Java Application Descriptor (JAD) file
- The Java Archive (JAR) file
The JAD file contains several information elements (or "Attributes") which describe the contents of the JAR file. Some key attributes carry the name of the application, the vendor name and the size of the JAR file.
The JAR file contains the actual application(s) and necessary resources to run the application. It is an archive and may contain multiple files. Information in the JAR file is compressed so that the collection of files is as small as possible. This reduces the download time and conserves bandwidth.
However, the fact that the JAR file is compressed is the root of the size problem.