• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

GPS Coordinates with jquery or javascript

dcsimmons

Lurker
I have a javascript routine that works in getting GPS Coordinates but they are not very accurate. Does anyone have javascript code that gets the most accurate GPS coordinates on an android phone. I have the Galaxy nexus (and I do love the phone).
 
I'm not a programmer but I can probably put my thoughts here and you may find a way out to create your java script.

The way I get accurate coordinates:

Tested this on Android 2.2.2 HTC Desire phone

1. Enable your GPS
2. Enable Wi-fi/mobile internet
3. Open Google Maps
4. Click on My Location icon (circle on top right corner) which will take you to your current position on map.
5. Long press on the blue arrow (your current location), and you will get more info option. Click on "Send location to others" --> Select Gmail or Messages or one of the options given there --> Copy only the http link given in that message & paste in web browser --> Complete action using a) Internet b) Maps --> select one of them and you can see in the box the GPS coordinates.

Cheers
 
Back
Top Bottom