A widget is a collection of HTML, CSS, JavaScript, resource (graphics)
and property (manifest) files. Widget deployment (to both target devices and
the emulator) requires an installation package, in which all the widget’s
component files are compressed into a zip file. The zip file must be given
with a .wgz
file extension.
The widget installation process is similar to the installation of ordinary S60 applications. To install a widget on the emulator, do the following:
Copy the widget .wgz
package
to the emulator’s file system at c\Data\Others
(full
path: <S60_SDK_installation_directory>\epoc32\winscw\c\Data\Others
).
In the application grid of the S60 emulator, open the Organiser folder.
In the Organiser, open File manager (File mgr.).
In the File manager, open Phone memory and navigate to the Other folder.
Select and open the installable widget.
Follow the prompts to complete the installation of the widget.
Once installed, you can run the widget by going to the Installed folder in the application grid and opening the widget from there.
Note: You can also view widgets on the emulator by opening them through File > Open... in the emulator's menu bar.
A newer version of the widget can be installed over a previously installed version of the widget. In this case the widget installer will prompt with an overwrite message.