从TelephonyManager获取设备信息
来源:互联网 发布:知乎公司 编辑:程序博客网 时间:2024/04/30 09:37
直接看api文档就一目了然了:
Public Methods List<CellInfo> getAllCellInfo() int getCallState() CellLocation getCellLocation() int getDataActivity() int getDataState() String getDeviceId() String getDeviceSoftwareVersion() String getGroupIdLevel1() String getLine1Number() String getMmsUAProfUrl() String getMmsUserAgent() List<NeighboringCellInfo> getNeighboringCellInfo() String getNetworkCountryIso() String getNetworkOperator() String getNetworkOperatorName() int getNetworkType() int getPhoneType() String getSimCountryIso() String getSimOperator() String getSimOperatorName() String getSimSerialNumber() int getSimState() String getSubscriberId() String getVoiceMailAlphaTag() String getVoiceMailNumber() boolean hasIccCard() boolean isNetworkRoaming() void listen(PhoneStateListener listener, int events)
http://developer.android.com/reference/android/telephony/TelephonyManager.html#getSubscriberId()
Returns all observed cell information from all radios on the device including the primary and neighboring cells.
Returns a constant indicating the call state (cellular) on the device.
Returns the current location of the device.
Returns a constant indicating the type of activity on a data connection (cellular).
Returns a constant indicating the current data connection state (cellular).
Returns the unique device ID, for example, the IMEI for GSM and the MEID or ESN for CDMA phones.
Returns the software version number for the device, for example, the IMEI/SV for GSM phones.
Returns the Group Identifier Level1 for a GSM phone.
Returns the phone number string for line 1, for example, the MSISDN for a GSM phone.
Returns the MMS user agent profile URL.
Returns the MMS user agent.
Returns the neighboring cell information of the device.
Returns the ISO country code equivalent of the current registered operator's MCC (Mobile Country Code).
Returns the numeric name (MCC+MNC) of current registered operator.
Returns the alphabetic name of current registered operator.
Returns a constant indicating the device phone type.
Returns the ISO country code equivalent for the SIM provider's country code.
Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM.
Returns the Service Provider Name (SPN).
Returns the serial number of the SIM, if applicable.
Returns a constant indicating the state of the device SIM card.
Returns the unique subscriber ID, for example, the IMSI for a GSM phone.
Retrieves the alphabetic identifier associated with the voice mail number.
Returns the voice mail number.
Returns true if the device is considered roaming on the current network, for GSM purposes.
Registers a listener object to receive notification of changes in specified telephony states.
- 从TelephonyManager获取设备信息
- TelephonyManager的介绍 & Android获取SIM卡信息、设备信息
- Android下使用TelephonyManager类获取设备电话相关信息
- Android下使用TelephonyManager类获取设备电话相关信息
- TelephonyManager获取手机信息
- TelephonyManager获取SIM卡信息
- TelephonyManager获取手机设备识别号
- 使用TelephonyManager获取移动网络信息
- 通过TelephonyManager获取本地手机信息
- Android获取SIM卡信息--TelephonyManager
- 使用TelephonyManager获取手机相关信息
- telephonymanager 获取手机的各种信息
- TelephonyManager获取到手机的一些信息
- android 获取设备唯一标识:imei 通过TelephonyManager
- Android 获取SIM卡内信息(TelephonyManager)
- 使用TelephonyManager获取网络和SIM卡信息
- Android系统信息获取 之九:TelephonyManager类
- TelephonyManager类来获取imei号和其他手机信息
- 科幻电影系列-计算机技术
- 啊好久没写了- -。。。 现在又开始系统的刷题了,所以还是写写吧- - 首先附上第一道线段树模板题- -。。。
- 一个IT屌丝的职业分享
- 安装并配置NFS服务器(Ubuntu)
- 常用的C/C++工程Makefile模板
- 从TelephonyManager获取设备信息
- ubuntu 13.10上配置打印机
- 孙鑫VC学习笔记:第十一讲 (一) 坐标空间与各种转换的概念
- (转)Android Fragment的使用(1)
- c++之try块和异常处理
- C语言字符串操作积累
- java笔记2
- RS编码和纠错算法
- 矩阵相乘nxn block的计算过程