Question

Is there any way to get the location of a cell phone (i.e. latitude/longitude) automatically when the user views a web page? This will primarily be used outside of the United States, so if there is some international standard that the US may or may not follow, that's what I'd need to know.

Was it helpful?

Solution 5

I'll probably try using Latitude with it's JSON feed.

OTHER TIPS

You can use their IP address to get a general idea. It's not very specific, but it works.

This place has a web service that will let you get their location with PHP or another server side scriping language.

http://www.geobytes.com/IpLocator.htm?Getlocation

There is no standard. The GSM and CDMA phone systems can easily be traced as per their design but you as a non government / network operator cannot trace a cellphone without a user's permission.

Do the words invasion of privacy come to mind?

I know that google has a service that can publish your GPS location if you wish, but this is opt in and you are able to switch it off.

As a iPhone user, I know that there is some applications that actually ask the user permission before geolocating there position. So there might be something in the iPhone SDK.

That way, it is reasonable to think that there is some way to do it.

Firefox 3.5 now supports geolocation, but it's not a very popular mobile browser.

http://en-gb.www.mozilla.com/en-GB/firefox/geolocation/

See Yahoo's Fire Eagle service. Your user would require a Fire Eagle account.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top