Activate your free membership today | Log-in

Wednesday, October 4th, 2006

WidSets: Nokia Mobile Widgets

Category: Component, Mobile

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

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

Skin

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

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

Widget

The widget file itself:

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

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

WidSets

Related Content:

Posted by Dion Almaer at 9:03 am
5 Comments

+++--
3.4 rating from 21 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.