Symbian on Symbian

Retweet Share on Facebook

Increasingly, HTML and associated web technologies will be the tools used to create compelling applications and services for Symbian-powered devices. It won’t be necessary to tangle with C++.  Instead, mobile web widgets will become more and more prevalent (and more and more powerful).

That was one the themes of an earlier posting I made, A new software journey.  In that posting, I posed a question:

What suggestions do readers have, for widgets that I can try to write?

The question received a range of good answers. One that particularly caught my eye was by Lee Holland:

Make a widget for http://www.symbian.org/.
Make it so it has tabbed feeds for each section like News, Blog, etc.
Very simple idea but it will be a great way for the Symbian community to keep in touch with latest goings on.

This idea has bounced around the Symbian Foundation a few times.  Ivan Litovski, Technical Expert in the Technical Communications team, picked up the idea and ran with it.  He has done an excellent job!  You can find the outcome on one of the Symbian developer forums:

developer.symbian.org on your phone

Hi all,

You can now access Forums, Wiki, Blogs and Bugzilla from your S60 phones using our new Widget. Check it out and let me know what you think…

Cheers,
Ivan

In other words, the widget allows people to access the Symbian website from their Symbian device: “Symbian on Symbian”.

(You may wonder why not just use the web browser application for this.  It’s true that the web browser can be used.  However, a widget often provides a better user experience in accessing complex data on a comparatively small screen.  Try it for yourself, and see.)

The link in the above forum posting takes readers to a page from where they can download a file with a .wgz extension.  That’s the widget.  Once they’ve downloaded the file, people can do two things with it:

  1. Copy it to a Symbian-powered mobile device, install it, and run it;
  2. View the source code that’s contained inside the widget.

Each of these tasks is interesting in its own right:

Viewing the source code of a widget

A wgz file is essentially a zip file, containing all the files needed when the widget runs.  If you use a zip program to look inside the widget, you’ll see files with extensions like:

  • png, gif – graphics files;
  • css – cascading style sheets, defining elements of the display, such as font styles and line colours;
  • plist – contains information that describes the widget to the application installation system;
  • js – Javascript files, containing the code instructions themselves.

These files will be of interest to anyone who is thinking of writing their own widgets.  There’s lots here that’s worth copying.  They’ll also come in handy for anyone who wants to improve the widget.  (Note that, in this way, widgets are inherently “open source”.)

Most people, however, will be more interested to run the widget than to scrutinise its source code.

Installing and running the widget

To get the widget to run on your mobile device, you first need to copy the widget from the desktop computer to the device. I usually use Bluetooth for this:

  • Enable Bluetooth on both the desktop computer and the mobile device;
  • Right click on the wgz file inside the Explorer app (or similar) on the desktop computer;
  • Select “Send to … Bluetooth” and select the mobile device;
  • The device shows the new file as a message in the Messaging App inbox.

If you open the message containing the widget, the installation process should kick off naturally.  A few moments later, you’ll find a copy of the icon for the application in your “Installations” folder (or similar – depending on the setup on your device).  You’ll recognise the application on account of its heart logo and its name, “Symbian.org”:

InstalledApps

Once you start the widget, you’ll be prompted for your symbian.org username and password. If you don’t already have one, you’ll be able to register.

Login

The homepage of the application shows you a list of options. The list is growing all the time, so it might be different by the time you try it. One of the options takes you into the wiki, showing a list of the articles that have been recently added or modified.

Homepage

Wiki

The next few screens demonstrate viewing the list of forums, and then drilling down into one particular forum:

Forums

Councils

ArchCouncil

The final screenshots show the list of blog postings.

Blog list

S on S on S

Clearly there’s lots to explore!

You may find some glitches in how the widget works – and you’ll almost certainly get ideas for how it could be improved. In that case, I invite you to join the discussion on the forum. You may even end up contributing new improvements.  Welcome to the party!

By the way, if you use the symbian.org widget on a Symbian device to view this Symbian blog posting about the symbian.org widget, does that make it Symbian on Symbian on Symbian…?

Posted: June 5, 2009 at 5:32 pm

Last updated: February 6, 2010 at 3:44 pm

Categories: Apps, Tech Themes

Short Link: http://wp.me/pqgpU-iW