Wednesday, October 4th, 2006
WidSets: Nokia Mobile Widgets
<p>Nokia has released widgets for the mobile world: WidSets.This means that you can create widgets for mobile phones just as people have gotten into creating widgets for the desktop and webtop.
If you take a peak into the example widgets you find that you need to create:
Config
Simple configuration parameters.
-
-
<config>
-
<!-- These are used to define initial widget parameters. -->
-
<parameter name="widgetname">Example widget</parameter>
-
</config>
-
Skin
The look and feel piece looks a little familiar but a little foreign. Check out the styles:
-
-
<skin name="Example widget" version="0.1">
-
-
<!-- Styles used by the widget -->
-
<styles>
-
-
[bg]
-
background: grid background 15 11 12 11
-
-
[feedIcon]
-
align: left vcenter
-
-
[feedTitle]
-
font-1: small
-
color-1: #000000
-
align: left vcenter
-
Widget
The widget file itself:
-
-
<widget name="Example widget" version="0.1">
-
-
<info>
-
<creator>
-
<user>username</user>
-
<date>7.6.2006 12:00</date>
-
</creator>
-
-
<!-- Configuration of servicehandlers which the widget needs to operate -->
-
<services>
-
<service type="syndication" id="feed1">
-
<reference from="feedurlrss" to="feedurl"/>
-
</service>
-
</services>
-
Soon someone will create a meta widget API that generates widget code for the various widget platforms :)
Related Content:












Well, 20 minutes later and I’m still not connected with my Nokia 6682 w/ Cingular. Their forums seem to be active so we’ll see how soon I can get some support.
[...] In a post covering Nokia’s release of WidSets, which allows one to create (java-enabled) mobile phone widgets in a similar manner to how we do it now for the web/desktop, Ajaxian has intimated that:Â [...]
[...] Agile, Configuration, EJB, XML Dion posted a story about Nokia’s new mobile widgets. This will be very cool if it’s as good as it sounds. However, what got me was the XML-based config – three separate files for config, skin, and widgets. The widget config: XML: <widget name=”Example widget” version=”0.1″> <info> <creator> <user>username</user> <date>7.6.2006 12:00</date> </creator> <!– Configuration of servicehandlers which the widget needs to operate –> <services> <service type=”syndication” id=”feed1″> <reference from=”feedurlrss” to=”feedurl”/> </service> </services> [...]
Nice info!
Will Check it out