You Are Here:

Web Runtime: RouteWidget Example

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Forum Nokia Events

MobileMonday Italy: The User Applications
November 23, 2009
Rome

Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa

Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India

LeWeb
December 09, 2009
Paris

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki


View all
description:

This S60 Web Runtime widget allows users to track the route they have travelled. The application demonstrates how to use the Location Service API for S60 Web Runtime to retrieve the current location (latitude and longitude), travelled distance, current speed (horizontal), and number of field satellites currently in view. The application also demonstrates how to enable dynamic scaling to different orientations by modifying Cascading Style Sheet (CSS) styles on the fly. The updated example adds home-screen support first introduced in the Nokia N97. The application can be installed on S60 devices that support Platform Services for Web Runtime (from S60 5th Edition onwards), and it is optimised for touch UI.


type: Example
topics: Location Based Services
S60
UI
Web Technology
     Browsing
     JavaScript
     Web Runtime (WRT)
         Widget for S60
intended audience: Basic

http://sw.nokia.com/FN-1/Type/Example Web Runtime: RouteWidget Example v2.0

This S60 Web Runtime widget demonstrates how to retrieve the current location (latitude and longitude), travelled distance, current speed (horizontal), and number of GPS satellites. The updated example supports adding the widget on the homescreen, first introduced in the Nokia N97 device. The application can be installed on S60 devices that support Platform Services for Web Runtime (from S60 5th Edition onwards), and it is optimised for touch UI.

12-May-2009


Download

see also: Web Runtime: AccuWidget Example
Web Developer's Library


Additional information

distribution: Forum Nokia Global Web Site
publication rights: Copyright © 2008-2009 Nokia Corporation.

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
User Rating: qfnZuserE5FratingQNx5E2E0000X
RDF Facets: qdcZdescriptionQSxThisE20S60E20WebE20E52untimeE20widgetE20demonstratesE20howE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE0alongitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20GPSE20satellitesE2eE20TheE20updatedE20eE78ampleE20supportsE20addingE20theE20widgetE20onE20theE20homescreenE2cE20firstE20introducedE20inE20theE20NokiaE20N97E20deviceE2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eX qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f3ee86475E2da722E2d41d6E2d80bfE2df8bda05d57dcE2fWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1c27d9d7E2d8946E2d4e26E2d947dE2d2b140c454876E2fWebE5fE52unE2dTimeE5fAccuWidgetE5fE45E78ampleX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ffd9cc12eE2d5eedE2d40ecE2da439E2dc77f845fed73E2fWebE5fE44evelopersE5fE4cibraryX qdcZtitleQSxWebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfnZE45E78cludedFromSearchQ qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfntypeZApplicationQ qdcZtypeQUqfntypeZE45E78ampleQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaObjectQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxThisE20S60E20WebE20E52untimeE20widgetE20demonstratesE20howE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE0alongitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20GPSE20satellitesE2eE20TheE20updatedE20eE78ampleE20supportsE20addingE20theE20widgetE20onE20theE20homescreenE2cE20firstE20introducedE20inE20theE20NokiaE20N97E20deviceE2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eX qrssZtitleQSxWebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleX qeditorZdescriptionE5fcreatedQDx2008E2d12E2d16T13E3a30E3a32E5aX qeditorZdescriptionE5fmodifiedQDx2009E2d05E2d12T11E3a07E3a06E5aX qeditorZtypeQUqfntypeZApplicationQ qeditorZtypeQUqfntypeZE45E78ampleQ qeditorZtypeQUqfntypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZbasicQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZpublishedQDx2009E2d05E2d12T00E3a00E3a00E5aX qfnZtopicQUqfnTopicZbrowsingQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZjavascriptQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZlocationQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZwebE5frunE5ftimeQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZwebE5ftechnologyQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZwidgetQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZApplicationQ qfnZtypeQUqfntypeZE45E78ampleQ qfnZtypeQUqfntypeZE52esourceQ qfnZusE5foriginQLqE78sdZbooleanQxtrueX qfnZE78mlE5fdescriptionQXxE0aE3cspanE20E78mlnsE3dE22httpE3aE2fE2fwwwE2ew3E2eorgE2f1999E2fE78htmlE22E3eE3cdivE20styleE3dE22marginE3aE200pE78E200pE78E200pE78E2012pE78E3bE20floatE3aE20rightE3bE22E3eE3cobjectE20classidE3dE22clsidE3aE4427CE44B6E45E2dAE456E44E2d11cfE2d96B8E2d444553540000E22E20codebaseE3dE22httpE3aE2fE2fdownloadE2emacromediaE2ecomE2fpubE2fshockwaveE2fcabsE2fflashE2fswflashE2ecabE23versionE3d7E2c0E2c19E2c0E22E20heightE3dE22242E22E20titleE3dE22WebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleE22E20widthE3dE22136E22E3eE20E3cparamE20nameE3dE22movieE22E20valueE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fflashE2fwrtE5fE52outeE5fwidgetE2eswfE22E3eE3cE2fparamE3eE20E3cparamE20nameE3dE22E71ualityE22E20valueE3dE22highE22E3eE3cE2fparamE3eE20E3cembedE20heightE3dE22242E22E20pluginspageE3dE22httpE3aE2fE2fwwwE2emacromediaE2ecomE2fgoE2fgetflashplayerE22E20E71ualityE3dE22highE22E20srcE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fflashE2fwrtE5fE52outeE5fwidgetE2eswfE22E20typeE3dE22applicationE2fE78E2dshockwaveE2dflashE22E20widthE3dE22136E22E3eE3cE2fembedE3eE20E3cE2fobjectE3eE3cE2fdivE3eE20E3cpE3eThisE20S60E20WebE20E52untimeE20widgetE20allowsE20usersE20toE20trackE20theE20routeE20theyE20haveE20travelledE2eE20TheE20applicationE20demonstratesE20howE20toE20useE20theE20E4cocationE20ServiceE20APIE20forE20S60E20WebE20E52untimeE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE20longitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20fieldE20satellitesE20currentlyE20inE20viewE2eE20TheE20applicationE20alsoE20demonstratesE20howE20toE20enableE20dynamicE20scalingE20toE20differentE20orientationsE20byE20modifyingE20CascadingE20StyleE20SheetE20E28CSSE29E20stylesE20onE20theE20flyE2eE20TheE20updatedE20eE78ampleE20addsE20homeE2dscreenE20supportE20firstE20introducedE20inE20theE20NokiaE20N97E2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eE3cE2fpE3eE3cE2fspanE3eE20E20E20E20E20E20X qmarsZdescriptionQSxThisE20S60E20WebE20E52untimeE20widgetE20demonstratesE20howE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE0alongitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20GPSE20satellitesE2eE20TheE20updatedE20eE78ampleE20supportsE20addingE20theE20widgetE20onE20theE20homescreenE2cE20firstE20introducedE20inE20theE20NokiaE20N97E20deviceE2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f73bd7f56E2dc45fE2d446bE2d98faE2df6500a70884fE2fWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f86f21c30E2d406aE2d4233E2d9f46E2d7096db87c708E2fWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv2E5f0E5fenE2ezipX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZtitleQSxWebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleX qncZrightsQSxCopyrightE20Ea9E202008E2d2009E20NokiaE20CorporationE2eX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfnZE45E78cludedFromSearchQ qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfntypeZApplicationQ qrdfZtypeQUqfntypeZE45E78ampleQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaObjectQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1c27d9d7E2d8946E2d4e26E2d947dE2d2b140c454876E2fWebE5fE52unE2dTimeE5fAccuWidgetE5fE45E78ampleX qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ffd9cc12eE2d5eedE2d40ecE2da439E2dc77f845fed73E2fWebE5fE44evelopersE5fE4cibraryX