ignace Posted June 3, 2010 Share Posted June 3, 2010 Hi does anyone know how you can get the coordinates from a mobile device like blackberry, iphone, ..? I've looked through Google and found http://stackoverflow.com/questions/1058880/can-iphone-send-gps-coordinates-to-a-website-painlessly However this is for Safari only, what browser do these phones use? Are there any frameworks that hide this complexity? Thx Link to comment https://forums.phpfreaks.com/topic/203736-get-gps-coordinates-from-mobile-device/ Share on other sites More sharing options...
ignace Posted June 3, 2010 Author Share Posted June 3, 2010 I think I got it http://code.google.com/p/geo-location-javascript/ Link to comment https://forums.phpfreaks.com/topic/203736-get-gps-coordinates-from-mobile-device/#findComment-1067073 Share on other sites More sharing options...
Mchl Posted June 3, 2010 Share Posted June 3, 2010 Seems to be working on my BB Link to comment https://forums.phpfreaks.com/topic/203736-get-gps-coordinates-from-mobile-device/#findComment-1067079 Share on other sites More sharing options...
ignace Posted June 3, 2010 Author Share Posted June 3, 2010 I also found: http://mobile.tutsplus.com/tutorials/html5/html5-apps-positioning-with-geolocation/ I think I will go with this one as the previous exposes too many global variables. I can't believe there is no decent JS API available? Link to comment https://forums.phpfreaks.com/topic/203736-get-gps-coordinates-from-mobile-device/#findComment-1067096 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.