I am developing a webpage which requires the userlocation for loading some data. The web page is mainly intended for android users. I need to find the geo location of the user when the user opens that page? How can I do that?
A:
HTML5 has a geolocation facility. Android 2.x devices should support it.
For Android 1.x devices, try the Google Gears equivalent.
CommonsWare
2010-04-30 11:00:04
http://isgeolocationpartofhtml5.com/
npdoty
2010-05-03 04:01:51
A:
If aviable, the JavaScript geolocation object will provide you with that data.
For the concrete implementation, have a look at this question: http://stackoverflow.com/questions/1349064/which-devices-support-javascript-geolocation-via-navigator-geolocation
christian studer
2010-04-30 11:20:28