diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-91579EE5-A608-401C-82B4-DCF1723EC7B5.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-91579EE5-A608-401C-82B4-DCF1723EC7B5.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,44 @@ + + +JavaScript Messaging +Service API

JavaScript Messaging +Service API

+

The Messaging +Service API is supported since WRT 1.1.

+

The Messaging Service API allows widgets to send, retrieve, +and manage messages using the Messaging Center of a device. The API is integrated +into WRT through the device object.

+

For an overview of the service and the API, see section Accessing messages and using messaging services.

+

Using the Messaging Service API

+

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

+
var so = device.getServiceObject("Service.Messaging", "IMessaging");
+ +

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 Messaging +Service API.

+
+
\ No newline at end of file