All About Symbian - News from the Symbian Ecosystem...

S60 Widgets (WRT) add contextual awareness

Published by Rafe Blandford at 20:57 BST, April 23rd 2008

Nokia today announced the next stage of its Widget (Web Run Time) platform for S60. The new version will allow widgets to access information and services on the phone (such as location through GPS) in order to enable context sensitive widgets. Also significant is a brief mention of Open C++ which will further extend the number of standard, platform-independent, programming libraries available on the S60 platform. Read on for more.

In this press release (part of Nokia's Web 2.0 conference activities) Nokia has effectively announced the next version of the S60 Web Run Time (WRT) as well as hinting at the evolution of Open C and its cross platform software development strategy. It seems likely that both technologies will be part of the next release of S60, although they may (as with the current version of WRT and Open C) be back ported to earlier versions of S60.

WRT

The next version of WRT will add the ability to access information and services on the device allowing a richer user experience to be created. Widgets can become more personalised and 'intelligent' because they have deeper access to information and services on the device. Nokia says this means that WRT can provide a user experience beyond what is possible on the desktop.

Up to this point Widgets have been relatively simple programs offering acting as little more than gateways to web services and/or web pages (e.g. information retrieval, search jump off, self-contained games). In general they have only be used to consume information - effectively acting as client program for web pages, any context must be supplied manually by the user.

However it will now be possible to create widgets that are more transactional in nature. Information from the web can be stored in the standard services of the device (e.g. appointments added to Calendar or phone numbers added to contacts after a local business search). The phone can also provide information about its current context to the web (with location as the most obvious use case).

Nokia has given a few examples of how what sort of widgets might be enabled by the new version:

  • A weather widget that uses location information from the GPS to display weather information and forecasts for the current location. This saves the user from having to manually set their location when travelling.

  • A flight tracker widget which downloads flight information from the airlines website, saves it to users calendar and sets a reminder (alarm). It will also check flight status a short time before the flight and alert the user to any changes in flight status.

  • A further example is shown in the image below. It combines several elements together in a mash-up of different web services which is enriched by context (location and calendar) information from the phone.

example widget

Nokia's example of a context sensitive widget (running on a concept device).

The current version of the Web Run Time (WRT) has very limited access to phone hardware and features though a number of APIs (called through JavaScript functions). Currently accessible is basic power, memory and language and network information and control of keypad lights and phone vibration.

The new/next version will be adding APIs to enable access to information and services provided by the phone (S60 platform services). This includes, but is not limited to, GPS (location), Contacts, Calendar, Messaging, Audio and Video information and services. It is worth noting that Nokia may have to add some form of signing / security policy to these widgets as they pose more of a security risk (current generation widgets do not have to be signed).

WRT is also significant because it opens up S60 development opportunities to web developers. Widget development is generally less time consuming than native development. Nokia says WRT development "has the potential to change the economics of mobile software development. Anyone with Web development experience can now create powerful mobile applications in days or even hours, drastically reducing the cost of development".

Open C++

Also mentioned in the press release is Open C++, which builds on the foundation of Open C. Open C++ brings the Standard Template Library (STL) and other C++ libraries to the S60 platform. As with Open C it makes it easier for developers to port existing code to the S60 platform. This is particularly relevant for open source components targeted at the Linux platform.

Open C++ further brunishes the cross platform development capabilities of the S60 platform. It is part of Nokia's drive to create a cross-platform software development platform.

Press Release

Here are some extracts from the press release:

"Our expanded Web Run-Time and widget offering has the potential to change the economics of mobile software development. Anyone with Web development experience can now create powerful mobile applications in days or even hours, drastically reducing the cost of development and further expanding the application offering," said Matti Vänskä, Vice President, Mobile Software Sales and Marketing, Nokia. "In addition, Internet services can be made more powerful and relevant for users by adding personal data such as the current location of the user, through GPS. The user experience from such services goes beyond what the desktop based environments can provide."

...

S60 is also expanding its support for open source innovation through support for Open C++. This support brings the Standard Template Library and other popular platform-independent C++ libraries to the S60 platform, extending the Open C offering that was announced last year. Together, Open C and Open C++ create opportunities for developers to utilize existing skills and code from other platforms in their S60 development projects, including open source components targeted at Linux and other platforms.

Categories: Software, Developer, Editorial Thoughts
Platforms: S60 3rd Edition

News Discussion

davecozens
slef-contained games?

Sounds interesting. What's a slef?

;)
Rafe
Quote:
Originally Posted by davecozens View Post
slef-contained games?
Sounds interesting. What's a slef?
;)
Opps :) I think they're like self contained games.
Serious 60
What the hell is that busy looking mash up example? It's the most contrived and lazy example of mash up, and looks exactly like the marketing material that was rammed down our throats just before the dot.com bubble.

But really. Everything that a widget can do, can be done now (with a bit of effort) natively. I have to ask - if something was really that important, or could be monetised as easily as the "new widget economy" makes out, then why hasn't it already been done and deployed?
Why hasn't the 1.5 billion in VC funding in mobile startups produced anything worthwile?
Rafe
I have to admit to thinking the same thing when I first saw that particular graphic. I mean they could have made it less clunky / mash up-ey and got the point across.

I think there is potential to Widgets because the development is easier, but I also think its not necessarily as simple as some suggest. There's also questions around commercialisation and distribution just as with native apps. I do think there's something to be said for an easy way to mix web services / webpages with phone services. I appreciate it can eb done natively, but there's a certain flexibility in addressing web services / phone services this way and using a web 'page' as the addressable UI for the end user.
Unregistered
"A weather widget that uses location information from the GPS to display weather information and forecasts for the current location. This saves the user from having to mnually set their location when travelling."


All I can say is LOL, it just isn't good enough or quick enough to be used in such a fashion, 99.99% of people will have a rough enough idea where they are and manual will still be loads quicker until GPS lock times improves 500%.

In fact assisted GPS would be much quicker if the app just said "roughly where are you?"
Unregistered
If they back port this to the n95/n82's already souped up FP1 then they might as well just put FP2 on it as that might save some work.
Rafe
I think location awareness will be big, but yes it does need some smartness built in (e.g. query where was the last confirmed location) and any awareness importantly needs a good sensor.

I think you can also assume that GPS stuff will improve. Consider the originla N95 (4+ minute cold start, versus N82 - 30 second cold start). Bear in mind the phones using this are probably a year or so away and I'd expect improvement by then.
Bosambo
As of yet I've yet to clap my eyes on an actual widget that utilises the WRT as it is and here they are pontificating on what the future holds for something no one has seen yet...try getting the first stage up and running first before we all get excited about what can be done next.
Unregistered
We are making great progress.

Widgets RULE.
Rafe
Quote:
Originally Posted by Bosambo View Post
As of yet I've yet to clap my eyes on an actual widget that utilises the WRT as it is and here they are pontificating on what the future holds for something no one has seen yet...try getting the first stage up and running first before we all get excited about what can be done next.
I saw the first commercial widget the other day, I think you'll start to see more of them. There are some free ones available on MOSH. But yes I guess there is a while to go... Of course the point is for most users you'll never know its a widget rather than a native application.
Serious 60
They don't endow the developer with creativity, a replacement for good UI design and aesthetics.
Javascript was always a big step backwards in terms of development, and it's a shame that it has prevailed. But it an environment that a lot of people have invested time and IP in.

Ease of development and mass deplyoment is important. I've thoroughly enjoyed the high level of quality of animation that emerged on the back of Macromedia flash. It has been an excellent platform for creativity and disposable "play once" games.
But still, i'm always sceptical when people queue behind a technology to try and make money from the huge potential of mobile subscribers.

I'm not sure that "location" as class of applications will be big. But I think google maps mobile will start to grow.
I'm certainly finding it useful to have a fast, responsive map available when i exit a tube station and am trying to find a building.

on a related topic ,I really enjoyed this article by Mark Russinovich (of sysinternals fame, and he also exposed the sony rootkit). He spent some time debugging a memory leak in a widget, and found out that the clock widget was leaking memory on each tick, eventually exhausting the virtual memory address pool.
http://blogs.technet.com/markrussino...5/2178879.aspx
rbrunner
Quote:
Originally Posted by Serious 60 View Post
But really. Everything that a widget can do, can be done now (with a bit of effort) natively. I have to ask - if something was really that important, or could be monetised as easily as the "new widget economy" makes out, then why hasn't it already been done and deployed?
I agree, and more and more I get the impression that Nokia tries something like a "machine-gun" approach to mobile applications here: Shoot as many bullets as possible in a short time all over the place without really knowing where the targets are and pray that anything interesting is hit nevertheless.

So far, the success does not impress me that much. Maybe the heart of the matter is at the little word that Series 60 uses, "effort". If nobody wants to spend some real effort and only tries to be successful with a widget wipped-up in one afternoon instead, maybe things will go only so far...

Full thread: 12 Comments / Post New Comment

Copyright Notes || Contact Us || Privacy Policy