|
» Subscribe » Favorite Links » What is S60? » Freeware & Trials » S60 devices » Hints and tips » About this blog |
» Announcements (20) » Feedback (13) » Fun (1) » General (5) » Tips and tricks (12) |
|
Main links » Mymobilesite.net » Discussions » Feedback For developers » Forum Nokia start page » Wiki » Discussions |
Research » Research project » Open Source project » Wiki » SourceForge Related technology links » Apache HTTP server » Mod_python » Python for S60 |
|
Subscribe RSS 2.0 feed |
Subscribe Atom feed If you wish to receive email notification, please here » |
|
» Mobile Web Server, spreading the love » Your input needed: Mobile Web Server feeds » Your input needed: adding access rights » Fully MWS Compatible PAMP » Mobile Web Server 1.4: out now! |
|
» September 2008 » August 2008 » July 2008 » June 2008 » May 2008 » April 2008 » March 2008 » February 2008 » January 2008 » December 2007 » November 2007 » October 2007 |
|

« Share your live status on Facebook | Main | Mobile Web Server Challenge: vote for your favorite! »
One of the coolest things in Mobile Web Server 1.3 beta has to be the Location feature. It's a bit hidden down there in Presence application so chances are you haven't even noticed it yet.
By default Presence page shows just the coordinates if the phone location is found. It's fair to say that's not very intuitive but here we are leaving the innovation possibilities for developers and hobbyists. It's very easy to modify the default Presence page to have a link to any map or other service. Hint: the file is Web server\htdocs\Web_Applications\Presence\Viewer\index.psp. You can take a look at our demo device's Presence page, it has some examples on what to do with the location.

If you don't feel like experimenting just start to use our Facebook application. It will translate your location into a map name and country, if you allow that. This way your friends can check out your live location roughly.
The location feature works in S60 devices that have the AGPS feature in software. This includes all the models that have internal GPS module. For some products such as N95 and E90 make sure you have the latest software for the device. Our current implementation only uses network-based location which can be hundreds of meters or even kilometers off depending on the cellular network structure. In our next release we will add an option to use also the GPS information if desired.
Bonus link: The Mobile Web Server brochure describes this and other possible future ideas. If you have new ideas, you know what to do :)
-Jukka

Comments
I really need to update my hardware; I'd like to play more with this aspect of the MWS.
How does the N96 work with MWS? I would assume no issues, but have there been any plusses?
Posted by: Antoine of MMM | June 7, 2008 06:13 AMAntoine, it's too early to say anything definite about N96. We will officially support S60 3rd. Ed, FP2 in our next release.
Posted by: Jukka Eklund | June 7, 2008 03:04 PMI've just discovered MWS.
I'm a linux user on the desktop.
WOW - I'm excited! It just does everything I want.
It's now on my must have list along with Fring.
How did I live without this? Is this the future of all phones?
Zero footprint on the desktop. Goodbye PC Suite.
Well done Jukka + Nokia.
Cheers
Posted by: Phillb | June 8, 2008 03:34 PMPhill.
This stuff is wild, congratulations. I'm planning to cycle Lands End to John O Groats in July and would love to track the route with my N95 - for this reason it would be great stuff if you can transmit the GPS position using the phone web server software. Likely?
All the best,
Rob
Posted by: Rob | June 9, 2008 10:06 PMA very nice update.
Posted by: Server | June 11, 2008 02:19 PMThanks all!
@Rob: the location is available in Presence page and in our REST API, so you can read them there (via browser or another service). For just tracking GPS info you might want to check out Sports Tracker as well.
Posted by: Jukka Eklund | June 14, 2008 03:46 PMSorry I wasn't that clear in my initial comment, apologies.
The location available in Presence page and via the REST API is the network based location, which isn't as accurate as the GPS location.
I have used sports tracker, but the advantage to using mws is I could build a mapping mashup website\facebook application which uses the REST API to read the gps location provided by mws. Using just sports tracker I would have to download\upload the GPS track at the end of everyday before I could map it in a web application. MWS with GPS location (not network based location) would allow me to build a live web mapping application.
All very good stuff.
Cheers, Rob.
Posted by: Rob | June 18, 2008 06:41 PMRob, just between us :) our next release will have GPS support as well. Keep us posted when you do that application, thanks!
Posted by: Jukka Eklund | June 19, 2008 10:24 AMhello hey, ive tried and tried to get a location for my presence but to no prevail.
Posted by: Joey | June 25, 2008 11:08 AMPlease can i get some help on this.
Device Nokia N73, Network T-mobile US.
thx
Joey, like I wrote Location feature requires a device with AGPS feature and N73 is not one of them.
Posted by: Jukka Eklund | June 25, 2008 11:14 AMHi,
indeed very cool functionality. I´m wondering why it is network based (Cell Id?) accuracy, but needs GPS sight to provide location info?
cheers,
dietmar
Posted by: Dietmar | June 25, 2008 07:33 PMDietmar, it doesn't require GPS signal but requires AGPS functionality on the device. The feature itself works indoors or any place provided that cellular-id based positíon is found.
Posted by: Jukka Eklund | June 25, 2008 11:55 PMIt's really fun to play with location information!
One question though: How exactly is the "estimated accuracy" information to be interpreted?
You see, I put a marker on Google Maps at lat/lon and draw a circle around it to show the area that I'm probably in. Now, is "accuracy" the radius of this circle or the diameter?
Posted by: ossi1967 | June 26, 2008 03:24 PMOssi,
My understanding is A-GPS works by querying a Nokia web server that keeps a list of the locations of various mobile cell id's. So the AGPS function submits your cell id to the server and then compares to a nearby cell locations.
I suspect the accuracy of the result from the web server will depend on several factors, the density of the cell network, the frequency of update. I would suspect this would be most accurate in the city and less accurate in open areas with sparse coverage.
Just a best guess.
Rob
Posted by: Rob | June 26, 2008 03:54 PMRob,
thx for your reply. I understand that, at least I hope so ;)
My question was about something different:
Posted by: ossi1967 | June 26, 2008 05:39 PMIf the device says the estimated accuracy is 96m (as in the first screenshot on top of the page), does this mean I'm in a circle with a 96m radius around the given coordinates or in a circle with a 96m diameter (which would be a much more accurate estimation)? It's important for me to know because I actually draw this circle on the map to visualize that I'm "in an area" rather than "at a position".
I see; in which case I have no idea, one for Nokia ;-)
I'd be very surprised if you can map a circle with any really meaning, I'd have thought that 96m is an almost arbitrary function of the cell density?
Posted by: Rob | June 26, 2008 05:53 PMI see; in which case I have no idea, one for Nokia ;-)
I'd be very surprised if you can map a circle with any really meaning, I'd have thought that 96m is an almost arbitrary function of the cell density?
Posted by: Rob | June 26, 2008 05:54 PMRob, ossi: The accuracy is the diameter of the circle.
Posted by: Jukka Eklund | June 27, 2008 09:55 AMRob, ossi: No, it is the radius. Sorry about the confusion!
Posted by: Jukka Eklund | July 1, 2008 10:28 AMJukka,
I got around to building a simple tracking application this weekend. It probably doesn't do much more that the Facebook application the MWS team has written, but it worked. Good to put theory into practice!
I have a demo website up and running here:
Mobile Phone Tracking with a Nokia N95
Unfortunately, due to the short battery lifespan of the N95, I don't have the web server and GPS switched on very often, but when all switched on it works a treat.
Rob
Posted by: Rob | July 6, 2008 09:29 PMIt does suck a lot of battery life, isnt it ?
Posted by: kerry | July 25, 2008 09:37 AM@kerry: This feature or MWS in general? Asking for the location via MWS doesn't consume anymore battery life than using GPS or Maps in general.
Posted by: Jukka Eklund | August 12, 2008 09:41 AM