DATA_ACTIVITY_NONE 无数据流动
DATA_ACTIVITY_IN 数据流入
DATA_ACTIVITY_OUT 数据流出
DATA_ACTIVITY_INOUT 数据交互
DATA_ACTIVITY_DORMANT 睡眠模式(2.1版本)
int
getDataState()
Returns a constant indicating the current data connection state (cellular).
String
getDeviceId()
Returns the unique device ID, for example, the IMEI for GSM and the MEID or ESN for CDMA phones.
获取设备标识(IMEI)
String
getDeviceSoftwareVersion()
Returns the software version number for the device, for example, the IMEI/SV for GSM phones.
获得软件版本String
getLine1Number()
Returns the phone number string for line 1, for example, the MSISDN for a GSM phone.
线路1的电话号码List<NeighboringCellInfo>
getNeighboringCellInfo()
Returns the neighboring cell information of the device.
String
getNetworkCountryIso()
Returns the ISO country code equivalent of the current registered operator's MCC (Mobile Country Code).
获取网络的国家ISO代码String
getNetworkOperator()
Returns the numeric name (MCC+MNC) of current registered operator.
获取SIM移动国家代码(MCC)和移动网络代码(MNC)
String
getNetworkOperatorName()
Returns the alphabetic name of current registered operator.
获取服务提供商姓名(中国移动、中国联通等)
int
getNetworkType()
Returns a constant indicating the radio technology (network type) currently in use on the device for data transmission.
获取网络类型