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. 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.

  3. 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.

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