android查找网络位置 [英] android find location of network
本文介绍了android查找网络位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
您好,我想根据网络确定设备的位置,所以找到cellid,然后如何从外在设备的那个cellid中找到位置?
Dear,
hi i want location of device based on the network so find cellid then how can i find location from thatn cellid of extranal device
推荐答案
您需要做的是打开从塔楼到经度和纬度的移动国家代码(MCC)和移动网络代码(MNC),然后可以在地图服务上进行查找.
因此,您需要寻找一个存储该数据的数据库,例如
cell2gps [ ^ ]
或
opencellid/ [ ^ ]
拿起手机中的密码,长久查找,将其映射以查找位置
/达伦
看看 Android手机状态示例 [
What you need to do is turn the Mobile Country Code (MCC) and Mobile Network Code (MNC) from the tower into a longitude and latitude which can then be looked up on a map service.
So you need to be looking for a database that stores this data like
cell2gps[^]
or
opencellid/[^]
Grab the codes from the phone, look up long and lat, map those to find location
/Darren
take a look at Android Phone Status Sample[^]
/Darren
这篇关于android查找网络位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文