Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Location Aware Mobile Browsers

I want to build a mobile web application that will require the users location. I want to avoid the need to create applications for separate mobile platforms and the growing sophistication of mobile browsers seems a way around that.

Which mobile browsers will allow client JavaScript to use the phone's GPS or cell tower data?

There have been several questions about this in the past, but I'm wandering about the state of the art in current or foreseeable future.

Thanks,

Gil

like image 930
GilShalit Avatar asked Nov 19 '25 09:11

GilShalit


2 Answers

There is the Geolocation API available for Javascript which is now supported by some smartphone browsers (Webkit,Safari).

Since the API is from the W3C, support in the future is likely to be extended to most mobile phones capable of GPS.

Similar question: Which Devices Support Javascript Geolocation via navigator.geolocation ?

like image 138
James Goodwin Avatar answered Nov 21 '25 22:11

James Goodwin


I'm working on an open source library that supports all javascript location capable phones with the W3C standard. So far it supports iPhone, Android, BlackBerry and some fringe browser platforms running in a browser. The lib can also be used when writing web stack standalone apps for Nokia OVI and the Palm WebOS.

http://code.google.com/p/geo-location-javascript/

like image 22
Stan Wiechers Avatar answered Nov 22 '25 00:11

Stan Wiechers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!