Contents |
This is an example of porting an Opera Widget to Nokia WRT using the guide found here. The example widget will be an Opera tutorial widget called Hello World!. The tutorial for how to make the widget can be found here.
The Hello World! zip package can be found by following this link.
The archive needs to be unzipped to make modifications to its contents, so go ahead and extract it.
When installing a .wgz file the system looks for a manifest file called info.plist. The Opera Widget equivalent is called config.xml.
Here's how to use the Opera Widget config.xml data to create the WRT manifest file:
<key>DisplayName</key>
<string>Hello World!</string>
<key>Identifier</key>
<string>8934075839275039847534890573489057</string>
<key>MainHTML</key>
<string>index.html</string>
<key>AllowNetworkAccess</key>
<true />
Re-zip the containing Hello World! folder and change the file extension from .zip to .wgz.
Upload the widget to your mobile device and install. Here is an example of the ported widget. Remember to change the extension to .wgz before installing.
No related wiki articles found