Skip to content
michael edited this page Nov 9, 2015 · 1 revision

Exposes TelephonyManager functionality.

checkNetworkRoaming Returns true if the device is considered roaming on the current network, for GSM purposes.
getCellLocation Returns the current cell location.
getDeviceId Returns the unique device ID, for example, the IMEI for GSM and the MEID for CDMA phones. Return null if device ID is not available.
getDeviceSoftwareVersion Returns the software version number for the device, for example, the IMEI/SV for GSM phones. Return null if the software version is not available.
getLine1Number Returns the phone number string for line 1, for example, the MSISDN for a GSM phone. Return null if it is unavailable.
getNeighboringCellInfo Returns the neighboring cell information of the device.
getNetworkOperator Returns the numeric name (MCC+MNC) of current registered operator.
getNetworkOperatorName Returns the alphabetic name of current registered operator.
getNetworkType Returns a the radio technology (network type) currently in use on the device.
getPhoneType Returns the device phone type.
getSimCountryIso Returns the ISO country code equivalent for the SIM provider\'s country code.
getSimOperator Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits.
getSimOperatorName Returns the Service Provider Name (SPN).
getSimSerialNumber Returns the serial number of the SIM, if applicable. Return null if it is unavailable.
getSimState Returns the state of the device SIM card.
getSubscriberId Returns the unique subscriber ID, for example, the IMSI for a GSM phone. Return null if it is unavailable.
getVoiceMailAlphaTag Retrieves the alphabetic identifier associated with the voice mail number.
getVoiceMailNumber Returns the voice mail number. Return null if it is unavailable.
phoneCall Calls a contact/phone number by URI.
uri (String)
phoneCallNumber Calls a phone number.
phone number (String)
phoneDial Dials a contact/phone number by URI.
uri (String)
phoneDialNumber Dials a phone number.
phone number (String)
readPhoneState Returns the current phone state and incoming number.
returns: (Bundle) A Map of \"state\" and \"incomingNumber\"
startTrackingPhoneState Starts tracking phone state.
stopTrackingPhoneState Stops tracking phone state.
Clone this wiki locally