Blackberry GPS and BlackBerry Maps Manual - Page 13
Browse online or download pdf Manual for Software Blackberry GPS and BlackBerry Maps. Blackberry GPS and BlackBerry Maps 35 pages. Version: 4.7.0
Development Guide
Attribute
Type
String
label
description
String
String
address
String
city
region
String
country
String
postalCode
String
phone
String
String
fax
String
url
String
email
String
categories
rating
String
Create a location document to display location information
1.
Create a String using required elements, or required and optional elements.
String document = "<lbs>
<location y='latitude' x='longitude' label='Location_Label'
description='Description'/>
<location y='latitude' x='longitude' label='Location_Label'
description='Description'/>
<location y='latitude' x='longitude' label='Location_Label'
description='Description'/>
....</lbs>";
2.
Invoke invokeApplication() using the String as one of the parameters.
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments
( MapsArguments.ARG_LOCATION_DOCUMENT, document));
Description
a label that is displayed
beside a location on a
map
description information
for a location
address
city
province or state
country
postal code
phone number
fax number
URL
email address
category
rating information,
between 0 and 5
Displaying location information on a BlackBerry device
Required
yes
yes
no
no
no
no
no
no
no
no
no
no
no
BlackBerry Java
Development
Environment version
4.2.0 or later
4.2.0 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
4.2.1 or later
11