diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-63F4E17E-8895-4054-82AD-762B90610B30.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-63F4E17E-8895-4054-82AD-762B90610B30.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,23 @@ + + +Developing +home screen widgets

Developing +home screen widgets

You can enable WRT widgets for display on the home screen.

+

To develop a home screen widget:

+
    +
  1. To enable a widget +for the home screen, add the MiniViewEnabled key to the info.plist file +of any WRT 1.1 widget.

  2. +
  3. To implement a function +in the widget that determines whether to display content in full screen or +home screen view and to call that function in response to events fired by +the widget, create JavaScript. For more information, see Determining whether to display home screen or full screen.

  4. +
  5. To retrieve data for +the widget in the home screen view, add HTML, JavaScript, and CSS definitions. +For more information, see Creating content specific to home screen widgets.

  6. +
+

For an example of developing a home screen widget, see Enabling STEW for the home screen.

+
\ No newline at end of file