开发者

Is geocoding possible with a phone that's not GPS enabled?

For instance, can I visit a website and get the location that way? I know you can do开发者_JAVA技巧 it with HTML5, but will that work on phones?


Sort of maybe kinda with a magic wand.

The phone needs to get data (strength, MAC address, etc) about all nearby cell towers and WiFi then send that to an API like SkyHook or Google Maps. Then you have a decent approximate GPS position.


You could use google.loader.ClientLocation API with a device that doesn't have a GPS. Google uses the IP address to figure out roughly where you are.

http://geo.webvm.net/ has a further example that sensibly looks out for W3C Geolocation beforehand.


You can use a GeoTargetting service if there is no Lat/Long info. That is going to be based off of the IP Address of the device. Digital Element has a service called NetAcuity that is as accurate as it gets in the industry of Geo Targetting. If you need pinpoint accuracy you are going to want to have an app running on the device getting the lat/long from the device. For the geo to work in HTML5 the user is still going to have to allow sites to have it...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜