Downloading Applications; Methods Of Downloading - Motorola MOTORAZR maxx V6 Developer's Manual

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

Java ME Developer Guide
Chapter 4 - Downloading Applications
4
Downloading
Applications

4.1 Methods of Downloading

There are two options open to the developer for deploying the MIDlet to a physical
Motorola device. These are OTA (over-the-air) downloading or direct cable (Serial)
downloading through a PC to the target device.
Method 1 - OTA
To use the OTA method, the developer will have a connection through a wireless net-
work to a content server. This content server could be, for example, Apache
(http://httpd.apache.org) which is free to use, deployable on multiple operating sys-
tems, and has extensive documentation on how to configure the platform.
The required file will be downloaded (either .jad and/or .jar) by issuing a direct URL
request to the file in question or it could be a URL request to a WAP page and a hy-
perlink on that page to the target file. This request will be made through the
browser. In MIDP , the need for a JAD file before download is not required, so the
JAR file can be downloaded directly. The information about the MIDlet will be pulled
from the manifest file.
The transport mechanism used to download the file will be one of two depending on
the support from the network operators WAP Gateway and the size of the file re-
quested.
HTTP Range - see specification RFC 2068 at
DRAFT - Subject to Change
[25/201]

Advertisement

Table of Contents
loading

Table of Contents