beautypg.com

21 get url from flex api, Overview, Flexible url for downloading functionality – Motorola HANDSET C381P User Manual

Page 90

background image

21
Get
URL from Flex API

90

21

Get URL from Flex API

Overview



This feature allows accessing URL stored in FLEX by a Java application. Carriers flex the
URL, which is used for content download, into the phone just like any invisible net URL.
So, this feature would allow Java applications to read and display the URL stored in flex
for users that would like to download new levels of Game.
The existing functionality allows current Java Applications use a dedicated URL to inform
users about the location which a new level of game can be downloaded. This new
functionality allows carriers to specify the URL for content download.

Flexible URL for downloading functionality


The URL is flexed using RadioComm or using OTA provisioning. The URL will follow the
rules mentioned below:

• All URLs used shall follow the guidelines outlined in RFC1738: Uniform

Resource Locators (URL). Refer to http://www.w3.org/addressing/rfc1738.txt for
more information.

• URLs are limited to 128 characters.

This feature enables Java applications to read the URL stored at the predefined location
in flex table. The default URL may be “http://www.hellomoto.com”.

The Java Application will be able to access the flexed URL by System.getProperty
method. The key for accessing the URL is “com.mot.carrier.URL”. The method
System.getProperty will return NULL if no URL is flexed.