android - 安卓 基站定位。
大家讲道理
大家讲道理 2017-04-17 14:48:07
0
2
496

如题,求安卓定位api或方法

安卓新人,尝试写一个天气预报软件,需要用到定位

在提问之前已经百度好久了,也找到不少方法。
谷歌的貌似不能用了,
百度apistore,apix等也没找到合适的,要么收费要么不会用,
像这个:
sid,nid参数不知怎么获取。


特此来求基站定位方法

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
巴扎黑

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
CdmaCellLocation location = (CdmaCellLocation) tm.getCellLocation();
int sid = location.getSystemId();
int bid = location.getBaseStationId();
int nid = location.getNetworkId();

www.cellocation.com 有免费的基站定位接口

巴扎黑

Yes, Google is no longer available.
Base station positioning on Baidu apistore, apix, aggregate data and other platforms should all be charged, and it is difficult to find free ones! And it’s not necessarily good either.
It should be relatively simple to use, such as https://www.juhe.cn/docs/api/... on aggregated data. You need to register first, and then apply for a key to call. If not, All the paid platforms have customer service.

To determine the longitude and latitude position of the base station through the cdma base station code, you must know the three base station data of Sid, Nid, and Bid, each of which is indispensable.
SID is the system identification code. Each prefecture-level city has only one SID, which is unique.
NID is a network identification code, which is managed by each local network, that is, assigned by prefecture-level branches. Each prefecture-level city may have 1 to 3 nids.
You can refer to: http://wenku.baidu.com/view/7...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template