diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-AEB26A58-1DE2-46CB-81EC-6DB3A477B7A3.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-AEB26A58-1DE2-46CB-81EC-6DB3A477B7A3.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,165 @@ + + +JavaScript SystemInfo +Service API (WRT 1.1)

JavaScript SystemInfo +Service API (WRT 1.1)

+

This SystemInfo Service API +is supported since WRT 1.1.

+

The SystemInfo Service API allows widgets to +access and modify system information 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 modifying system information.

+

Using the SystemInfo Service API

+

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

+ +
var so = device.getServiceObject("Service.SysInfo", "ISysInfo");
+

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

+ +
+

Emulator support

+

The S60 5th Edition SDK emulator provides partial support for system +information. The following table lists the system +attributes supported by the emulator.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Supported system +attributes
+

Entity

+
+

Key

+
+

Device

+
+

PlatformVersion

+
  +

PhoneModel

+
 
+

Display

+
+

ScreenSaverTimeout

+
  +

UserInactivity

+
  +

KeyGuardTime

+
  +

AutoLockTime

+
  +

AutoLockStatus

+
  +

Wallpaper

+
  +

LightTimeout

+
  +

DisplayResolution

+
  +

DisplayOrientation

+
 
+

General

+
+

InputLanguage

+
  +

SupportedLanguages

+
  +

PredictiveText

+
 
+

Memory

+
+

ListDrives

+
  +

DriveInfo

+
+
\ No newline at end of file