public class TelephonyIntents extends Object
THESE ARE NOT THE API! Use the TelephonyManager
class.
DON'T LISTEN TO THESE DIRECTLY.
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
Broadcast Action: The data connection state has changed for any one of the
phone's mobile data connections (eg, default, MMS or GPS specific connection).
|
static String |
ACTION_CARRIER_SETUP
Activity Action: Start this activity to invoke the carrier setup app.
|
static String |
ACTION_CARRIER_SIGNAL_PCO_VALUE
Broadcast Action: when pco value is available.
|
static String |
ACTION_CARRIER_SIGNAL_REDIRECTED
Broadcast Action: when data connections get redirected with validation failure.
|
static String |
ACTION_CARRIER_SIGNAL_REQUEST_NETWORK_FAILED
Broadcast Action: when data connections setup fails.
|
static String |
ACTION_DATA_CONNECTION_FAILED
Broadcast Action: An attempt to establish a data connection has failed.
|
static String |
ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED
Broadcast Action: The default data subscription has changed.
|
static String |
ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED
Broadcast Action: The default sms subscription has changed.
|
static String |
ACTION_DEFAULT_SUBSCRIPTION_CHANGED
Broadcast Action: The default subscription has changed.
|
static String |
ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED
Broadcast Action: The default voice subscription has changed.
|
static String |
ACTION_EMERGENCY_CALL_STATE_CHANGED
Broadcast Action: The emergency call state is changed.
|
static String |
ACTION_EMERGENCY_CALLBACK_MODE_CHANGED
Broadcast Action: The emergency callback mode is changed.
|
static String |
ACTION_FORBIDDEN_NO_SERVICE_AUTHORIZATION
Broadcast Action: Indicates that the action is forbidden by network.
|
static String |
ACTION_NETWORK_SET_TIME
Broadcast Action: The time was set by the carrier (typically by the NITZ string).
|
static String |
ACTION_NETWORK_SET_TIMEZONE
Broadcast Action: The timezone was set by the carrier (typically by the NITZ string).
|
static String |
ACTION_RADIO_TECHNOLOGY_CHANGED
Broadcast Action: The radio technology has changed.
|
static String |
ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE
Broadcast action to trigger CI OMA-DM Session.
|
static String |
ACTION_SERVICE_STATE_CHANGED
Broadcast Action: The phone service state has changed.
|
static String |
ACTION_SET_RADIO_CAPABILITY_DONE |
static String |
ACTION_SET_RADIO_CAPABILITY_FAILED |
static String |
ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS
Broadcast Action: It indicates the Emergency callback mode blocks datacall/sms
. |
static String |
ACTION_SIGNAL_STRENGTH_CHANGED
Broadcast Action: The phone's signal strength has changed.
|
static String |
ACTION_SIM_STATE_CHANGED
Broadcast Action: The sim card state has changed.
|
static String |
ACTION_SUBINFO_CONTENT_CHANGE
Broadcast Action: It indicates one column of a subinfo record has been changed
This is a protected intent that can only be sent by the system. |
static String |
ACTION_SUBINFO_RECORD_UPDATED
Broadcast Action: It indicates subinfo record update is completed
when SIM inserted state change
This is a protected intent that can only be sent by the system. |
static String |
EXTRA_APN_PROTO_KEY |
static String |
EXTRA_APN_TYPE_KEY |
static String |
EXTRA_DATA_SPN |
static String |
EXTRA_ERROR_CODE_KEY |
static String |
EXTRA_PCO_ID_KEY |
static String |
EXTRA_PCO_VALUE_KEY |
static String |
EXTRA_PLMN |
static String |
EXTRA_RADIO_ACCESS_FAMILY |
static String |
EXTRA_REDIRECTION_URL_KEY |
static String |
EXTRA_SHOW_PLMN |
static String |
EXTRA_SHOW_SPN |
static String |
EXTRA_SPN |
static String |
SECRET_CODE_ACTION
Broadcast Action: A "secret code" has been entered in the dialer.
|
static String |
SPN_STRINGS_UPDATED_ACTION
Broadcast Action: The Service Provider string(s) have been updated.
|
Constructor and Description |
---|
TelephonyIntents() |
public static final String ACTION_SERVICE_STATE_CHANGED
ServiceState.STATE_IN_SERVICE
,
ServiceState.STATE_OUT_OF_SERVICE
,
ServiceState.STATE_EMERGENCY_ONLY
or ServiceState.STATE_POWER_OFF
Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_RADIO_TECHNOLOGY_CHANGED
Broadcast Action: The radio technology has changed. The intent will have the following extra values:
You can not receive this through components declared
in manifests, only by explicitly registering for it with
Context.registerReceiver()
.
Requires no permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_EMERGENCY_CALLBACK_MODE_CHANGED
Broadcast Action: The emergency callback mode is changed.
You can not receive this through components declared
in manifests, only by explicitly registering for it with
Context.registerReceiver()
.
Requires no permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_EMERGENCY_CALL_STATE_CHANGED
Broadcast Action: The emergency call state is changed.
You can not receive this through components declared
in manifests, only by explicitly registering for it with
Context.registerReceiver()
.
Requires no permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_SIGNAL_STRENGTH_CHANGED
You can not receive this through components declared
in manifests, only by exlicitly registering for it with
Context.registerReceiver()
.
Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
CONNECTED
, CONNECTING
,
or DISCONNECTED
.*
is a special type that means this APN services all types.Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_DATA_CONNECTION_FAILED
CONNECTED
, CONNECTING
, or {code DISCONNECTED}.Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_SIM_STATE_CHANGED
ABSENT
LOCKED
reason
)READY
IMSI
LOADED
LOCKED
; null otherwise.PIN
PUK
NETWORK
Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_NETWORK_SET_TIME
Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_NETWORK_SET_TIMEZONE
Requires the READ_PHONE_STATE permission.
This is a protected intent that can only be sent by the system.
public static final String ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS
Broadcast Action: It indicates the Emergency callback mode blocks datacall/sms
. This is to pop up a notice to show user that the phone is in emergency callback mode and atacalls and outgoing sms are blocked.
This is a protected intent that can only be sent by the system.
public static final String ACTION_CARRIER_SETUP
Callers of this should hold the android.permission.INVOKE_CARRIER_SETUP permission.
public static final String ACTION_FORBIDDEN_NO_SERVICE_AUTHORIZATION
Broadcast Action: Indicates that the action is forbidden by network.
This is for the OEM applications to understand about possible provisioning issues. Used in OMA-DM applications.
public static final String SECRET_CODE_ACTION
*#*#<code>#*#*
. The intent will have the data URI:
android_secret_code://<code>
public static final String SPN_STRINGS_UPDATED_ACTION
Note: this is a protected intent that can only be sent by the system.
public static final String EXTRA_SHOW_PLMN
public static final String EXTRA_PLMN
public static final String EXTRA_SHOW_SPN
public static final String EXTRA_SPN
public static final String EXTRA_DATA_SPN
public static final String ACTION_SUBINFO_CONTENT_CHANGE
Broadcast Action: It indicates one column of a subinfo record has been changed
This is a protected intent that can only be sent by the system.
public static final String ACTION_SUBINFO_RECORD_UPDATED
Broadcast Action: It indicates subinfo record update is completed when SIM inserted state change
This is a protected intent that can only be sent by the system.
public static final String ACTION_DEFAULT_SUBSCRIPTION_CHANGED
public static final String ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED
public static final String ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED
public static final String ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED
public static final String ACTION_SET_RADIO_CAPABILITY_DONE
public static final String EXTRA_RADIO_ACCESS_FAMILY
public static final String ACTION_SET_RADIO_CAPABILITY_FAILED
public static final String ACTION_CARRIER_SIGNAL_REDIRECTED
Broadcast Action: when data connections get redirected with validation failure. intended for sim/account status checks and only sent to the specified carrier app The intent will have the following extra values:
This is a protected intent that can only be sent by the system.
public static final String ACTION_CARRIER_SIGNAL_REQUEST_NETWORK_FAILED
Broadcast Action: when data connections setup fails. intended for sim/account status checks and only sent to the specified carrier app The intent will have the following extra values:
This is a protected intent that can only be sent by the system.
public static final String ACTION_CARRIER_SIGNAL_PCO_VALUE
Broadcast Action: when pco value is available. intended for sim/account status checks and only sent to the specified carrier app The intent will have the following extra values:
This is a protected intent that can only be sent by the system.
public static final String EXTRA_REDIRECTION_URL_KEY
public static final String EXTRA_ERROR_CODE_KEY
public static final String EXTRA_APN_TYPE_KEY
public static final String EXTRA_APN_PROTO_KEY
public static final String EXTRA_PCO_ID_KEY
public static final String EXTRA_PCO_VALUE_KEY
public static final String ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE