TelephonyManager:

1. public String getDeviceSoftwareVersion() : software version number, ex: IMEI/SV for GSM phones

2. public StringgetDeviceId() : unique device ID, for example,the IMEI for GSM phones

3. public CellLocationgetCellLocation() : the current location of the device

4. public List<NeighboringCellInfo>getNeighboringCellInfo() : neighboring cell list info of the device

5. public int getPhoneType() : two types available:  PHONE_TYPE_NONEPHONE_TYPE_GSM

6. public StringgetNetworkOperatorName() : alphabetic name of current registered operator

7. public boolean isNetworkRoaming() : phone is roaming

8. public StringgetNetworkCountryIso() : ISO country code equivilent of the current registered operator's MCC (Mobile Country Code)

9. public int getNetworkType() : four types of network : NETWORK_TYPE_UNKNOWNNETWORK_TYPE_GPRSNETWORK_TYPE_EDGENETWORK_TYPE_UMTS

10. public String getNetworkTypeName() : "UNKNOWN", "GPRS", "EDGE", "UMTS"

11. public int getSimState() : SIM_STATE_UNKNOWNSIM_STATE_ABSENTSIM_STATE_PIN_REQUIREDSIM_STATE_PUK_REQUIREDSIM_STATE_NETWORK_LOCKEDSIM_STATE_READY

12. public String getSimOperator() : MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits

13. public String getSimOperatorName() : Service Provider Name (SPN)

14. public String getSimCountryIso() : ISO country code equivalent for the SIM provider's country code

15. public String getSimSerialNumber() : serial number of the SIM

16. public StringgetSubscriberId() : unique subscriber ID, for example, the IMSI for a GSM phone

17. public String getLine1Number() : phone number string for line 1, for example, the MSISDN for a GSM phone

18. public String getLine1AlphaTag() : alphabetic identifier associated with the line 1 number

19. public String getVoiceMailNumber() : voice mail number

20. public String getVoiceMailAlphaTag() : alphabetic identifier associated with the voice mail number

21. public int getCallState() : CALL_STATE_IDLE , CALL_STATE_RINGING, CALL_STATE_OFFHOOK

22. public int getDataActivity() : DATA_ACTIVITY_NONEDATA_ACTIVITY_INDATA_ACTIVITY_OUTDATA_ACTIVITY_INOUT

23. public int getDataState() : DATA_DISCONNECTEDDATA_CONNECTINGDATA_CONNECTEDDATA_SUSPENDED

GsmCellLocation :

1. public int getLac()

2. public int getCid()

NeighboringCellInfo :

1. public int getRssi() : received signal strength in "asu", ranging from 0 - 31, or UNKNOWN_RSSI if unknown For GSM, dBm = -113 + 2*asu, 0 means "-113 dBm or less" and 31 means "-51 dBm or greater"

2. public int getCid() : cell id, UNKNOWN_CID if unknown, 0xffffffff max legal value

Android - Telephony API 1.5的更多相关文章

  1. Android - Telephony API 1.6

    SignalStrength: 1. public int getGsmSignalStrength() : GSM Signal Strength, valid values are (0-31, ...

  2. Android 使用Telephony API

    Android 使用Telephony API public class TelephonyDemo extends Activity { TextView textOut; TelephonyMan ...

  3. Android 中文API (68) —— BluetoothClass.Service

    前言 本章内容是 android.bluetooth.BluetoothClass.Service,为Android蓝牙部分的章节翻译,版本为 Android 2.3   r1,翻译来自中山大学的&q ...

  4. Android Telephony分析(七) ---- 接口扩展(异步转同步)

    本文是基于上一篇<Android Telephony分析(六) —- 接口扩展(实践篇)>来写的.上一篇介绍的接口扩展的方法需要实现两部分代码:1. 从APP至RIL,发送请求:2. 从R ...

  5. com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK assets/com.xx.xx

    完整的Error 信息(关键部分) Error:Execution failed for task ':fanwe_o2o_47_mgxz_dingzhi:transformResourcesWith ...

  6. Sorry, but the Android VPN API doesn’t currently allow TAP-based tunnels.

    Sorry, but the Android VPN API doesn’t currently allow TAP-based tunnels. Edit .ovpn configfile “dev ...

  7. Android 系统API实现数据库的增删改查和SQLite3工具的使用

    在<Android SQL语句实现数据库的增删改查>中介绍了使用sql语句来实现数据库的增删改查操作,本文介绍Android 系统API实现数据库的增删改查和SQLite3工具的使用. 系 ...

  8. 【NFC】Android NFC API Reference中英文

    0 Near Field Communication Near Field Communication (NFC) is a set of   short-range wireless technol ...

  9. Android开发-API指南-应用程序开发基础

    Application Fundamentals 英文原文:http://developer.android.com/guide/components/fundamentals.html 采集(更新) ...

随机推荐

  1. Requests抓取火车票数据

    1.数据接口 https://kyfw.12306.cn/otn/lcxxcx/query?purpose_codes=ADULT&queryDate=2016-08-01&from_ ...

  2. PHP环境 PDOException PDOException: could not find driver

    PDOException PDOException: could not find driver in dbcon.php:29 修改php.ini文件中的相关内容.对于找不到php.ini证明你的p ...

  3. ajax传参里含有特殊字符的坑

    问题场景:今天在测试自己手上的页面功能时,发现一个小bug,在用ajax向后台发数据时,只要参数中出现一些特殊字符,控制台会报错http 400的问题,其实就是特殊字符服务器不能解析.好了,问题是找到 ...

  4. better-scroll的用法,及其中的一个属性event._constructed详解

    better-scroll是一个页面滚动插件,用它可以很方便的实现下拉刷新,锚点滚动等功能. 实现原理:父容器固定高度,并设置overflow:hidden,子元素超出父元素高度后将被隐藏,超出部分可 ...

  5. 磁盘存储结构与文件恢复实验(FAT文件系统)

    实验地点:主楼A2-412 一.实验室名称:主楼实验室A2-412                  二.实验项目名称:磁盘存储结构与文件恢复实验 三.实验学时:6学时 四.实验原理: 在Debug环 ...

  6. unity3d 移动与旋转 1

    移动与旋转 1 player角色随asdw按键左右上下移动并旋转 public void Update() { // Reset player rotation to look in the same ...

  7. 323. Number of Connected Components in an Undirected Graph按照线段添加的并查集

    [抄题]: Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of n ...

  8. 286被围绕的区域 · Surrounded Regions

    [抄题]: 给一个二维的矩阵,包含 'X' 和 'O', 找到所有被 'X' 围绕的区域,并用 'X' 填充满. 样例 给出二维矩阵: X X X X X O O X X X O X X O X X ...

  9. Java文件下载详解

    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException ...

  10. qt学习(三) qt布局

    使用横向与竖向.网格三种布局嵌套使用后可以组合出很复杂的界面. 这里向大家推荐这篇博客 http://www.cnblogs.com/Bonker/p/3454956.html 我这里使用布局做了一个 ...