Blackberry GPS and BlackBerry Maps 매뉴얼 - 페이지 13
{카테고리_이름} Blackberry GPS and BlackBerry Maps에 대한 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Blackberry GPS and BlackBerry Maps 35 페이지. 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