使用基站、wifi实现定位
来源:互联网 发布:图的连通性判断算法 编辑:程序博客网 时间:2024/05/21 08:40
其中几个要
//国家代码
mcc = manager.getNetworkOperator().substring(0, 3);
//网号
mnc = manager.getNetworkOperator().substring(3, 5);
//基站号
currentCell.cellId = gsm.getCid();
//区域码
lac = gsm.getLac();
注:别忘加权限啊
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
使用基站、wifi实现定位
http://fengzhizi715.iteye.com/blog/825716
manager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
listener = new PhoneStateListener();
manager.listen(listener, 0);
Android PhoneStateListener 问题
http://fonter.iteye.com/blog/714306
Android之TelephonyManager&GsmCellLocation类的方法详解
http://blog.163.com/charge_king/blog/static/519245702011432426807/
LiveLocus,无需耗费GPRS流量的Android定位追踪程序
http://www.iteye.com/topic/367993
android 基站定位
http://ouyangfeng521.iteye.com/blog/1064382
基站定位代码封装
http://z466459262.iteye.com/blog/662241
- 使用基站、wifi实现定位
- 使用基站、wifi实现定位
- Android 使用基站、wifi实现定位
- android 使用基站 wifi定位
- 使用百度API实现热点(WIFI)、GPS、基站定位
- android WIFI定位和基站定位实现
- android WIFI定位和基站定位实现
- Android里实现基站和WIFI定位
- 基站、wifi、GPS定位
- android 基站定位 wifi定位
- 在Android里完美实现基站和WIFI定位
- 在Android里完美实现基站和WIFI定位
- 在Android里完美实现基站和WIFI定位
- gps、基站、wifi 实现谷歌地图定位
- 在Android里完美实现基站和WIFI定位
- gps、基站、wifi定位是如何实现的
- 在Android里完美实现基站和WIFI定位
- 在Android里完美实现基站和WIFI定位
- Linux操作系统下动态库的编写与调用
- Android设置背景透明度
- 2005年百度之星程序设计大赛试题初赛题目-题1
- 毕业两年了
- android使用GPS
- 使用基站、wifi实现定位
- 在Linux环境下编写和使用静态函数库
- X64 Deep Dive
- 图像处理之浮雕算法
- c 内存小函数
- 第十三周任务(四)
- hduoj 1754 I Hate it
- sprintf用法简介
- DataGrid的数据绑定