SL4A API Help -PhoneFacade

index
Exposes TelephonyManager functionality.
@author Damon Kohler (damonkohler@gmail.com)
@author Felix Arends (felix.arends@gmail.com)
checkNetworkRoamingReturns true if the device is considered roaming on the current network, for GSM purposes.
getCellLocationReturns the current cell location.
getDeviceIdReturns the unique device ID, for example, the IMEI for GSM and the MEID for CDMA phones. Return null if device ID is not available.
getDeviceSoftwareVersionReturns the software version number for the device, for example, the IMEI/SV for GSM phones. Return null if the software version is not available.
getLine1NumberReturns the phone number string for line 1, for example, the MSISDN for a GSM phone. Return null if it is unavailable.
getNeighboringCellInfoReturns the neighboring cell information of the device.
getNetworkOperatorReturns the numeric name (MCC+MNC) of current registered operator.
getNetworkOperatorNameReturns the alphabetic name of current registered operator.
getNetworkTypeReturns a the radio technology (network type) currently in use on the device.
getPhoneTypeReturns the device phone type.
getSimCountryIsoReturns the ISO country code equivalent for the SIM provider\'s country code.
getSimOperatorReturns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits.
getSimOperatorNameReturns the Service Provider Name (SPN).
getSimSerialNumberReturns the serial number of the SIM, if applicable. Return null if it is unavailable.
getSimStateReturns the state of the device SIM card.
getSubscriberIdReturns the unique subscriber ID, for example, the IMSI for a GSM phone. Return null if it is unavailable.
getVoiceMailAlphaTagRetrieves the alphabetic identifier associated with the voice mail number.
getVoiceMailNumberReturns the voice mail number. Return null if it is unavailable.
phoneCallCalls a contact/phone number by URI.
uri (String)
phoneCallNumberCalls a phone number.
phone number (String)
phoneDialDials a contact/phone number by URI.
uri (String)
phoneDialNumberDials a phone number.
phone number (String)
readPhoneStateReturns the current phone state and incoming number.
returns: (Bundle) A Map of \"state\" and \"incomingNumber\"
startTrackingPhoneStateStarts tracking phone state.
stopTrackingPhoneStateStops tracking phone state.

index