You Are Here:

Web Runtime: RouteWidget Example v2.0

Register Today

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

Register Login
Community Highlights

Wiki article of the week

Zoom and Rotate Gestures in FlashLite for touch-enabled devices

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

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

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9:30am New Delhi, noon Beijing


View all
file name: Web_Runtime_RouteWidget_Example_v2_0_en.zip
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
language: English (en)
encoding: Zip Archive (.zip)
intended audience: Basic
compatibility: S60 5th Edition. Tested on: Nokia 5800 XpressMusic, Nokia N97.
see also: Web Developer's Library
Web Runtime: AccuWidget Example
Download AllVersions


Additional information

distribution: Forum Nokia Global Web Site
edition: 2
editorial revision: 0
publication rights: Copyright © 2008-2009 Nokia Corporation.
size: 177 KB
supersedes: Web Runtime: RouteWidget Example

<< 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
RDF Facets: qdcZdescriptionQSxThisE20S60E20WebE20E52untimeE20widgetE20demonstratesE20howE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE0alongitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20GPSE20satellitesE2eE20TheE20updatedE20eE78ampleE20supportsE20addingE20theE20widgetE20onE20theE20homescreenE2cE20firstE20introducedE20inE20theE20NokiaE20N97E20deviceE2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eX qdcZformatQNx180842X qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f86f21c30E2d406aE2d4233E2d9f46E2d7096db87c708E2fWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv2E5f0E5fenE2ezipX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1c27d9d7E2d8946E2d4e26E2d947dE2d2b140c454876E2fWebE5fE52unE2dTimeE5fAccuWidgetE5fE45E78ampleX qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ffd9cc12eE2d5eedE2d40ecE2da439E2dc77f845fed73E2fWebE5fE44evelopersE5fE4cibraryX qdcZtitleQSxWebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleE20v2E2e0X qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfntypeZApplicationQ qdcZtypeQUqfntypeZE45E78ampleQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaInstanceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qdctermsZeE78tentQNx180842X qrssZdescriptionQSxThisE20S60E20WebE20E52untimeE20widgetE20demonstratesE20howE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE0alongitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20GPSE20satellitesE2eE20TheE20updatedE20eE78ampleE20supportsE20addingE20theE20widgetE20onE20theE20homescreenE2cE20firstE20introducedE20inE20theE20NokiaE20N97E20deviceE2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eX qrssZtitleQSxWebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleE20v2E2e0X qeditorZdescriptionE5fcreatedQDx2009E2d05E2d11T07E3a16E3a14E5aX qeditorZdescriptionE5fmodifiedQDx2009E2d05E2d12T11E3a06E3a05E5aX qeditorZtypeQUqfntypeZApplicationQ qeditorZtypeQUqfntypeZE45E78ampleQ qeditorZtypeQUqfntypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZbasicQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZcompatibilityQSxS60E205thE20E45ditionE2eE20TestedE20onE3aE20NokiaE205800E20E58pressMusicE2cE20NokiaE20N97E2eX qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZfilenameQSxWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv2E5f0E5fenE2ezipX qfnZpublishedQDx2009E2d05E2d12T00E3a00E3a00E5aX qfnZrepresentationQLqeditorZAttachmentQxWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv2E5f0E5fenE2ezipX qfnZtopicQUqfnTopicZbrowsingQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZjavascriptQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZlocationQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZwebE5frunE5ftimeQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZwebE5ftechnologyQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZwidgetQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZApplicationQ qfnZtypeQUqfntypeZE45E78ampleQ qfnZtypeQUqfntypeZE52esourceQ qfnZusE5foriginQLqE78sdZbooleanQxtrueX qfnZE78mlE5fdescriptionQXxE0aE3cspanE20E78mlnsE3dE22httpE3aE2fE2fwwwE2ew3E2eorgE2f1999E2fE78htmlE22E3eE3cdivE20styleE3dE22marginE3aE200pE78E200pE78E200pE78E2012pE78E3bE20floatE3aE20rightE3bE22E3eE3cobjectE20classidE3dE22clsidE3aE4427CE44B6E45E2dAE456E44E2d11cfE2d96B8E2d444553540000E22E20codebaseE3dE22httpE3aE2fE2fdownloadE2emacromediaE2ecomE2fpubE2fshockwaveE2fcabsE2fflashE2fswflashE2ecabE23versionE3d7E2c0E2c19E2c0E22E20heightE3dE22242E22E20titleE3dE22WebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleE22E20widthE3dE22136E22E3eE20E3cparamE20nameE3dE22movieE22E20valueE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fflashE2fwrtE5fE52outeE5fwidgetE2eswfE22E3eE3cE2fparamE3eE20E3cparamE20nameE3dE22E71ualityE22E20valueE3dE22highE22E3eE3cE2fparamE3eE20E3cembedE20heightE3dE22242E22E20pluginspageE3dE22httpE3aE2fE2fwwwE2emacromediaE2ecomE2fgoE2fgetflashplayerE22E20E71ualityE3dE22highE22E20srcE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fflashE2fwrtE5fE52outeE5fwidgetE2eswfE22E20typeE3dE22applicationE2fE78E2dshockwaveE2dflashE22E20widthE3dE22136E22E3eE3cE2fembedE3eE20E3cE2fobjectE3eE3cE2fdivE3eE20E3cpE3eThisE20S60E20WebE20E52untimeE20widgetE20allowsE20usersE20toE20trackE20theE20routeE20theyE20haveE20travelledE2eE20TheE20applicationE20demonstratesE20howE20toE20useE20theE20E4cocationE20ServiceE20APIE20forE20S60E20WebE20E52untimeE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE20longitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20fieldE20satellitesE20currentlyE20inE20viewE2eE20TheE20applicationE20alsoE20demonstratesE20howE20toE20enableE20dynamicE20scalingE20toE20differentE20orientationsE20byE20modifyingE20CascadingE20StyleE20SheetE20E28CSSE29E20stylesE20onE20theE20flyE2eE20TheE20updatedE20eE78ampleE20addsE20homeE2dscreenE20supportE20firstE20introducedE20inE20theE20NokiaE20N97E2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eE3cE2fpE3eE3cE2fspanE3eE20E20E20E20E20E20X qmarsZdescriptionQSxThisE20S60E20WebE20E52untimeE20widgetE20demonstratesE20howE20toE20retrieveE20theE20currentE20locationE20E28latitudeE20andE0alongitudeE29E2cE20travelledE20distanceE2cE20currentE20speedE20E28horizontalE29E2cE20andE20numberE20ofE20GPSE20satellitesE2eE20TheE20updatedE20eE78ampleE20supportsE20addingE20theE20widgetE20onE20theE20homescreenE2cE20firstE20introducedE20inE20theE20NokiaE20N97E20deviceE2eE20TheE20applicationE20canE20beE20installedE20onE20S60E20devicesE20thatE20supportE20PlatformE20ServicesE20forE20WebE20E52untimeE20E28fromE20S60E205thE20E45ditionE20onwardsE29E2cE20andE20itE20isE20optimisedE20forE20touchE20UIE2eX qmarsZeditionQNx2X qmarsZencodingQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fencodingE2d1E2fzipX qmarsZinstanceOfQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f3ee86475E2da722E2d41d6E2d80bfE2df8bda05d57dcE2fWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZrevisionQNx0X qmarsZsizeQNx180842X qmarsZtitleQSxWebE20E52untimeE3aE20E52outeWidgetE20E45E78ampleE20v2E2e0X qncZrightsQSxCopyrightE20Ea9E202008E2d2009E20NokiaE20CorporationE2eX qncZsupersedesQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f73bd7f56E2dc45fE2d446bE2d98faE2df6500a70884fE2fWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qwebZresolvesAsQUxhttpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fdpE3furiE3dhttpE253AE252FE252FswE2enokiaE2ecomE252FidE252F86f21c30E2d406aE2d4233E2d9f46E2d7096db87c708E252FWebE5fE52untimeE5fE52outeWidgetE5fE45E78ampleE5fv2E5f0E5fenE2ezipX qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfntypeZApplicationQ qrdfZtypeQUqfntypeZE45E78ampleQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaInstanceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1c27d9d7E2d8946E2d4e26E2d947dE2d2b140c454876E2fWebE5fE52unE2dTimeE5fAccuWidgetE5fE45E78ampleX qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ffd9cc12eE2d5eedE2d40ecE2da439E2dc77f845fed73E2fWebE5fE44evelopersE5fE4cibraryX