Android的检测locatoin使用WIFI [英] android detect locatoin using WIFI
本文介绍了Android的检测locatoin使用WIFI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们可以利用GPS检测code,我想通过WiFi来检测位置???
We can detect code using gps, i want to detect location via wifi ???
我怎么能做到这一点?我想simulataniously跑一两个线程检测locaiton使用WIFI使用GPS的另一检测。
how can i do that ? i want two threads simulataniously running one detecting locaiton using GPS another detecting using WIFI.
推荐答案
查看该网页上的链接和公共静态最后弦乐NETWORK_PROVIDER。
Check out this link and "public static final String NETWORK_PROVIDER " on that page.
另外,我觉得这个开源项目使用了GPS和网络位置:链接。希望一个很好的例子。
Also I think this open source project uses both gps and network location: Link . Hopefully a good example.
这篇关于Android的检测locatoin使用WIFI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文