This section describes the features that you can build into widgets using Web Runtime (WRT).
For information about the standards supported by WRT, see section Web Runtime standards.
WRT 1.0 provided support for widgets through built-in JavaScript objects. The following features can be added to widgets using this technology.
Note: The WRT environment is backward-compatible; widgets created for WRT 1.0 run normally with WRT 1.1. However, you should take newer technologies, such as different display sizes and the introduction of touch UI, into consideration when running WRT 1.0 widgets on newer mobile devices.
User interaction with the underlying device
Mobile device users
can interact with the device through user input, for example via the options
list or softkeys. For more information, see Managing user interaction and
the JavaScript menu
object.
Self-updating widgets
Widgets can update themselves by communicating directly with a web service or server. For more information, see Managing widgets on mobile devices.
Navigation
Mobile device users can navigate the UI using tabs
or a cursor. For more information, see Moving within widgets and
the setNavigationEnabled()
method
in the Web Runtime API reference.
Display rotation
Mobile device users can rotate the display between portrait and landscape orientation. For more information, see Designing for dynamic screen orientation.
Launching S60 applications
Widgets can launch S60 mobile device
applications for their own use. For example, a news widget can launch the
Calendar application so that mobile device users can mark an event in their
calendar. For more information, see the openApplication()
method
in the Web Runtime API reference.
Language-specific versions of a widget
The S60 platform supports multiple languages and allows mobile device users to select the language that their device uses for UI texts. Widget developers can create language-specific versions of a widget to take advantage of this feature. For more information, see Supporting multiple languages.
Dynamically modified web pages
Widgets can inspect or modify web pages dynamically through the use of DOM Level 2.
WRT 1.1 added the following features:
Support for S60 Platform Services through JavaScript Service APIs. For more information, see Using platform services.
Note: Widgets created using the WRT 1.1 Service APIs do not work with WRT 1.0.
Support for home screen widgets on compatible devices.
Widgets that you enable for the home screen work normally in full screen mode on devices that do not have a home screen.