TelephonyManager.ActionSecretCode Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Broadcast Action: A debug code has been entered in the dialer.
[Android.Runtime.Register("ACTION_SECRET_CODE", ApiSince=29)]
public const string ActionSecretCode;
[<Android.Runtime.Register("ACTION_SECRET_CODE", ApiSince=29)>]
val mutable ActionSecretCode : string
Field Value
- Attributes
Remarks
Broadcast Action: A debug code has been entered in the dialer.
This intent is broadcast by the system and OEM telephony apps may need to receive these broadcasts. And it requires the sender to be default dialer or has carrier privileges (see #hasCarrierPrivileges
).
These "secret codes" are used to activate developer menus by dialing certain codes. And they are of the form *#*#<code>#*#*
. The intent will have the data URI: android_secret_code://<code>
. It is possible that a manifest receiver would be woken up even if it is not currently running.
It is supposed to replace android.provider.Telephony.Sms.Intents#SECRET_CODE_ACTION
in the next Android version. Before that both of these two actions will be broadcast.
Java documentation for android.telephony.TelephonyManager.ACTION_SECRET_CODE
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.