Wednesday, October 4th, 2006

WidSets: Nokia Mobile Widgets

Category: Component, Mobile

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.

  1. <config>
  2.   <!-- These are used to define initial widget parameters. -->
  3.   <parameter name="widgetname">Example widget</parameter>
  4.   <parameter name="feedurlrss">http://www.yourfeed.com/index.xml</parameter>
  5. </config>

Skin

The look and feel piece looks a little familiar but a little foreign. Check out the styles:

  1. <skin name="Example widget" version="0.1">
  2.  
  3.   <!-- Styles used by the widget -->
  4.   <styles>
  5.  
  6.     [bg]
  7.       background: grid background 15 11 12 11
  8.  
  9.     [feedIcon]
  10.       align: left vcenter
  11.    
  12.     [feedTitle]
  13.       font-1: small
  14.       color-1: #000000
  15.       align: left vcenter

Widget

The widget file itself:

  1. <widget name="Example widget" version="0.1">
  2.  
  3.   <info>
  4.     <creator>
  5.       <user>username</user>
  6.       <date>7.6.2006 12:00</date>
  7.     </creator>
  8.  
  9.   <!-- Configuration of servicehandlers which the widget needs to operate -->
  10.     <service type="syndication" id="feed1">
  11.       <reference from="feedurlrss" to="feedurl"/>
  12.     </service>
  13.   </services>

Soon someone will create a meta widget API that generates widget code for the various widget platforms :)

WidSets

Posted by Dion Almaer at 9:03 am
5 Comments

+++--
3.3 rating from 26 votes

5 Comments »

Comments feed TrackBack URI

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.

Comment by Andrew Herron — October 4, 2006

[…] 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:  […]

Pingback by Ajaxian Calls for Meta Widget API « Yoick - Hightechwire — October 4, 2006

[…] 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> […]

Pingback by Software As She’s Developed » Blog Archive » XML Descriptors, Be Gone! — October 4, 2006

Nice info!

Comment by ricarde — November 15, 2007

Will Check it out

Comment by ravi2288 — December 28, 2008

Leave a comment

You must be logged in to post a comment.