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. 如何用git命令行上传本地代码到github

    注意:安装的前提条件是配置好Git的相关环境或者安装好git.exe,此处不再重点提及 上传的步骤: 本文采用git 命令界面进行操作,先执行以下两个命令,配置用户名和email[设置用戶名和e-ma ...

  2. YII cookie和session的使用方法

    设置cookie://首先新建cookie$cookie = new CHttpCookie(‘mycookie’, ‘this is my cookie’);//定义cookie的有效期$cooki ...

  3. js 和 java互调

    Java调JS JDK1.8 中Nashorn 比JavaScript性能更好 public static void main(String[] args) { long s = System.cur ...

  4. Spring Boot 异步调用

    添加一个类ThreadPoolConfig.java package com.cjcx.inter.framework.config; import org.springframework.conte ...

  5. Halcon中二维码解析函数解码率和时长的优化方法

    Halcon中条码解析函数包容多种条码类型且简单强大.现有的‘Data Matrix ECC 200’.‘QR Code’和‘PDF417’等广泛使用的条码均能解析.简单是通过默认参数即可对多种条码进 ...

  6. [ShaderStaff] Vignette Effect

    操作系统:Windows8.1 显卡:Nivida GTX965M 开发工具:GLSL | C 最近在看Cardboard实现,其中关于畸变的着色器代码中有加入 晕影Vignette 效果的实现,固在 ...

  7. 【318】C# 学习笔记

    笔记 01:C# 数据结构 引用类型(Reference types) 引用类型不包含存储在变量中的实际数据,但它们包含对变量的引用. 换句话说,它们指的是一个内存位置.使用多个变量时,引用类型可以指 ...

  8. 新手C#异常的学习2018.08.07

    异常是在程序执行期间出现的问题.C# 中的异常是对程序运行时出现的特殊情况的一种响应,比如尝试除以零. class Program { static void Main(string[] args) ...

  9. for 续5

    -------siwuxie095                 (五)usebackq 主要用于路径或文件名有空格时的情况 (说白了,就是对 in 后面的括号内集合进行转义)     单靠看帮助文 ...

  10. adf 日志输出

    1,选中ViewController或是Model,在属性框中,做如下配置,run/debug后可以看到日志信息中,将adf的整个执行过程很详细的打印出来了. 在每个项目的Project proper ...