diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-B8845FF1-D7F6-476A-8651-8B9C12D8789F.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-B8845FF1-D7F6-476A-8651-8B9C12D8789F.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,49 @@ + + +JavaScript Landmarks +Service API

JavaScript Landmarks +Service API

+

The Landmarks +Service API is supported since WRT 1.1.

+

The Landmarks Service API allows widgets to +access and manage information about landmarks and landmark categories. This +information is stored in one or more landmark databases on a device. The API +is integrated into WRT through the device object.

+

For an overview of the service and the API, see section Accessing and managing information about landmarks.

+

Using the Landmarks Service API

+

To use the Landmarks Service API, your widget must +first create a service object for it +using the device.getServiceObject() method. +Use Service.Landmarks to identify the service provider +and IDataSource to identify the supported interface:

+ +
var so = device.getServiceObject("Service.Landmarks", "IDataSource");
+

This service object can then be used to access the services provided +by the API:

+ +
+

Emulator support

+

The S60 5th Edition SDK emulator provides full support for the Landmarks +Service API.

+
+
\ No newline at end of file