0

我正在开发一个移动网络应用程序。即使设备 GPS 关闭,我也想检测设备的当前位置。我们有什么办法可以做到吗?像(单元格/扇区/三角测量)这样的实现方法可以做到吗?

有没有可以帮助做到这一点的api?请帮忙。

谢谢和问候,维奈

4

1 回答 1

1

2 options based on where you want to determine - Java Script side. This wraps the HTML5 spec - Google Geolocation API - http://code.google.com/p/geo-location-javascript/

Or you could determine it on the server based on the IP address of the mobile phone (rememeber to make it clear to your users that you are using the IP to determine the location) http://blog.programmableweb.com/2009/03/31/3-free-ways-to-geolocate-by-ip/

于 2012-05-17T04:59:54.363 回答