Convert this Intent into a String holding a URI representation of it.
The returned URI string has been properly URI encoded, so it can be
used with {@link Uri#parse Uri.parse(String)}. The URI contains the
Intent's data as the base URI, with an additional fragment describing
the action, categories, type, flags, package, component, and extras.
Broadcast Action: The user has switched the phone into or out of Airplane Mode. One or
more radios have been turned off or on. The intent will have the following extra value:
Alarm Changed Action: This is broadcast when the AlarmClock
application's alarm is set or unset. It is used by the
AlarmClock application and the StatusBar service.
@hide
Activity Action: The user pressed the "Report" button in the crash/ANR dialog.
This intent is delivered to the package which installed the application, usually
Google Play.
An activity that provides a user interface for adjusting application preferences.
Optional but recommended settings for all applications which have settings.
Used to indicate that some piece of data should be attached to some other
place. For example, image data could be attached to a contact. It is up
to the recipient to decide where the data should be attached; the intent
does not specify the ultimate destination.
Broadcast Action: This is a sticky broadcast containing the
charging state, level, and other information about the battery.
See {@link android.os.BatteryManager} for documentation on the
contents of the Intent.
Broadcast Action: Indicates the battery is now okay after being low.
This will be sent after {@link #ACTION_BATTERY_LOW} once the battery has
gone back up to an okay state.
Broadcast Action: This is broadcast once, after the user has finished
booting. It can be used to perform application-specific initialization,
such as installing alarms. You must hold the
{@link android.Manifest.permission#RECEIVE_BOOT_COMPLETED} permission in
order to receive this broadcast.
Broadcast Action: The "Camera Button" was pressed. Includes a single
extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that
caused the broadcast.
Activity Action: Display an activity chooser, allowing the user to pick
what they want to before proceeding. This can be used as an alternative
to the standard activity picker that is displayed by the system when
you try to start an activity with multiple possible matches, with these
differences in behavior:
Broadcast Action: This is broadcast when a user action should request a
temporary system dialog to dismiss. Some examples of temporary system
dialogs are the notification window-shade and the recent tasks dialog.
Broadcast Action: The current device {@link android.content.res.Configuration}
(orientation, locale, etc) has changed. When such a change happens, the
UIs (view hierarchy) will need to be rebuilt based on this new
information; for the most part, applications don't need to worry about
this, because the system will take care of stopping and restarting the
application to make sure it sees the new changes. Some system code that
can not be restarted will need to watch for this action and handle it
appropriately.
Activity Action: Allow the user to create a new document. When invoked,
the system will display the various {@link DocumentsProvider} instances
installed on the device, letting the user navigate through them. The
returned document may be a newly created document with no content, or it
may be an existing document with the requested MIME type.
Broadcast Action: Indicates that a new device customization has been
downloaded and applied (packages installed, runtime resource overlays
enabled, xml files copied, ...), and that it is time for components that
need to for example clear their caches to do so now.
Broadcast sent to the system user when the 'device locked' state changes for any user.
Carries an extra {@link #EXTRA_USER_HANDLE} that specifies the ID of the user for which
the device was locked or unlocked.
Broadcast Action: A sticky broadcast that indicates a storage space full
condition on the device. This is intended for activities that want to be
able to fill the data partition completely, leaving only enough free
space to prevent system-wide SQLite failures.
Activity Action: Dial a number as specified by the data. This shows a
UI with the number being dialed, allowing the user to explicitly
initiate the call.
Activity Action: Dial a emergency number specified by the data. This shows a
UI with the number being dialed, allowing the user to explicitly
initiate the call.
Broadcast Action: Resources for a set of packages (which were
previously unavailable) are currently
available since the media on which they exist is available.
The extra data {@link #EXTRA_CHANGED_PACKAGE_LIST} contains a
list of packages whose availability changed.
The extra data {@link #EXTRA_CHANGED_UID_LIST} contains a
list of uids of packages whose availability changed.
Note that the
packages in this list do not receive this broadcast.
The specified set of packages are now available on the system.
Broadcast Action: Resources for a set of packages are currently
unavailable since the media on which they exist is unavailable.
The extra data {@link #EXTRA_CHANGED_PACKAGE_LIST} contains a
list of packages whose availability changed.
The extra data {@link #EXTRA_CHANGED_UID_LIST} contains a
list of uids of packages whose availability changed.
The specified set of packages can no longer be
launched and are practically unavailable on the system.
Activity Action: Main entry point for factory tests. Only used when
the device is booting in factory test node. The implementing package
must be installed in the system image.
Activity Action: Allow the user to select a particular kind of data and
return it. This is different than {@link #ACTION_PICK} in that here we
just say what kind of data is desired, not a URI of existing data from
which the user can pick. An ACTION_GET_CONTENT could allow the user to
create the data as it runs (for example taking a picture or recording a
sound), let them browse over the web and download the desired data,
etc.
Broadcast to a specific application to query any supported restrictions to impose
on restricted users. The broadcast intent contains an extra
{@link #EXTRA_RESTRICTIONS_BUNDLE} with the currently persisted
restrictions as a Bundle of key/value pairs. The value types can be Boolean, String or
String[] depending on the restriction type.
Broadcast Action: A global button was pressed. Includes a single
extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that
caused the broadcast.
@hide
Broadcast Action: A broadcast when idle maintenance should be stopped.
This means that the user was not interacting with the device as a result
of which a broadcast with action {@link #ACTION_IDLE_MAINTENANCE_START}
was sent and now the user started interacting with the device. Typical
use of the idle maintenance is to perform somehow expensive tasks that
can be postponed at a moment when they will not degrade user experience.
Broadcast Action: A broadcast when idle maintenance can be started.
This means that the user is not interacting with the device and is
not expected to do so soon. Typical use of the idle maintenance is
to perform somehow expensive tasks that can be postponed at a moment
when they will not degrade user experience.
Broadcast Action: Sent to the system intent filter verifier when an
intent filter needs to be verified. The data contains the filter data
hosts to be verified against.
Used by {@link services.core.java.com.android.server.pm.DataLoaderManagerService}
for querying Data Loader Service providers. Data loader service providers register this
intent filter in their manifests, so that they can be looked up and bound to by
{@code DataLoaderManagerService}.
Broadcast Action: This is broadcast once, after the user has finished
booting, but while still in the "locked" state. It can be used to perform
application-specific initialization, such as installing alarms. You must
hold the {@link android.Manifest.permission#RECEIVE_BOOT_COMPLETED}
permission in order to receive this broadcast.
Activity Action: Show settings for managing network data usage of a
specific application. Applications should define an activity that offers
options to control data usage.
Broadcast Action: Indicates low memory condition notification acknowledged by user
and package management should be started.
This is triggered by the user from the ACTION_DEVICE_STORAGE_LOW
notification.
Broadcast sent to the primary user when an associated managed profile is added (the profile
was created and is ready to be used). Carries an extra {@link #EXTRA_USER} that specifies
the UserHandle of the profile that was added. Only applications (for example Launchers)
that need to display merged content across both primary and managed profiles need to
worry about this broadcast. This is only sent to registered receivers,
not manifest receivers.
Broadcast sent to the primary user when an associated managed profile has become available.
Currently this includes when the user disables quiet mode for the profile. Carries an extra
{@link #EXTRA_USER} that specifies the UserHandle of the profile. When quiet mode is changed,
this broadcast will carry a boolean extra {@link #EXTRA_QUIET_MODE} indicating the new state
of quiet mode. This is only sent to registered receivers, not manifest receivers.
Broadcast sent to the primary user when an associated managed profile is removed. Carries an
extra {@link #EXTRA_USER} that specifies the UserHandle of the profile that was removed.
Only applications (for example Launchers) that need to display merged content across both
primary and managed profiles need to worry about this broadcast. This is only sent to
registered receivers, not manifest receivers.
Broadcast sent to the primary user when an associated managed profile has become unavailable.
Currently this includes when the user enables quiet mode for the profile. Carries an extra
{@link #EXTRA_USER} that specifies the UserHandle of the profile. When quiet mode is changed,
this broadcast will carry a boolean extra {@link #EXTRA_QUIET_MODE} indicating the new state
of quiet mode. This is only sent to registered receivers, not manifest receivers.
Broadcast sent to the primary user when the credential-encrypted private storage for
an associated managed profile is unlocked. Carries an extra {@link #EXTRA_USER} that
specifies the UserHandle of the profile that was unlocked. Only applications (for example
Launchers) that need to display merged content across both primary and managed profiles
need to worry about this broadcast. This is only sent to registered receivers,
not manifest receivers.
Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted.
The path to the mount point for the removed media is contained in the Intent.mData field.
Broadcast Action: The "Media Button" was pressed. Includes a single
extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that
caused the broadcast.
Broadcast Action: External media is present, and being disk-checked
The path to the mount point for the checking media is contained in the Intent.mData field.
Broadcast Action: User has expressed the desire to remove the external storage media.
Applications should close all files they have open within the mount point when they receive this intent.
The path to the mount point for the media to be ejected is contained in the Intent.mData field.
Broadcast Action: External media is present and mounted at its mount point.
The path to the mount point for the mounted media is contained in the Intent.mData field.
The Intent contains an extra with name "read-only" and Boolean value to indicate if the
media was mounted read only.
Broadcast Action: External media is present, but is using an incompatible fs (or is blank)
The path to the mount point for the checking media is contained in the Intent.mData field.
Broadcast Action: External media is unmounted because it is being shared via USB mass storage.
The path to the mount point for the shared media is contained in the Intent.mData field.
Broadcast Action: External media is present but cannot be mounted.
The path to the mount point for the unmountable media is contained in the Intent.mData field.
Broadcast Action: External media is present, but not mounted at its mount point.
The path to the mount point for the unmounted media is contained in the Intent.mData field.
Broadcast Action: External media is no longer being shared via USB mass storage.
The path to the mount point for the previously shared media is contained in the Intent.mData field.
Broadcast Action: A new version of your application has been installed
over an existing one. This is only sent to the application that was
replaced. It does not contain any additional data; to receive it, just
use an intent filter for this action.
Broadcast Action: Sent to a package that has been suspended by the system. This is sent
whenever a package is put into a suspended state or any of its app extras change while in the
suspended state.
Activity Action: Allow the user to select and return one or more existing
documents. When invoked, the system will display the various
{@link DocumentsProvider} instances installed on the device, letting the
user interactively navigate through them. These documents include local
media, such as photos and video, and documents provided by installed
cloud storage providers.
Activity Action: Allow the user to pick a directory subtree. When
invoked, the system will display the various {@link DocumentsProvider}
instances installed on the device, letting the user navigate through
them. Apps can fully manage documents within the returned directory.
Broadcast Action: An overlay package has changed. The data contains the
name of the overlay package which has changed. This is broadcast on all
changes to the OverlayInfo returned by {@link
android.content.om.IOverlayManager#getOverlayInfo(String, int)}. The
most common change is a state change that will change whether the
overlay is enabled or not.
@hide
Broadcast Action: A new application package has been installed on the
device. The data contains the name of the package. Note that the
newly installed package does not receive this broadcast.
Broadcast Action: An existing application package has been changed (for
example, a component has been enabled or disabled). The data contains
the name of the package.
Broadcast Action: The user has cleared the data of a package. This should
be preceded by {@link #ACTION_PACKAGE_RESTARTED}, after which all of
its persistent data is erased and this broadcast sent.
Note that the cleared package does not
receive this broadcast. The data contains the name of the package.
Broadcast Action: Sent to the installer package of an application when
that application is first launched (that is the first time it is moved
out of the stopped state). The data contains the name of the package.
Broadcast Action: An existing application package has been completely
removed from the device. The data contains the name of the package.
This is like {@link #ACTION_PACKAGE_REMOVED}, but only set when
{@link #EXTRA_DATA_REMOVED} is true and
{@link #EXTRA_REPLACING} is false of that broadcast.
Broadcast Action: Sent to the integrity component when a package
needs to be verified. The data contains the package URI along with other relevant
information.
Broadcast Action: An existing application package has been removed from
the device. The data contains the name of the package. The package
that is being removed does not receive this Intent.
Broadcast Action: A new version of an application package has been
installed, replacing an existing version that was previously installed.
The data contains the name of the package.
Broadcast Action: The user has restarted a package, and all of its
processes have been killed. All runtime state
associated with it (processes, alarms, notifications, etc) should
be removed. Note that the restarted package does not
receive this broadcast.
The data contains the name of the package.
Broadcast Action: External power has been connected to the device.
This is intended for applications that wish to register specifically to this notification.
Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to
stay active to receive this notification. This action can be used to implement actions
that wait until power is available to trigger.
Broadcast Action: External power has been removed from the device.
This is intended for applications that wish to register specifically to this notification.
Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to
stay active to receive this notification. This action can be used to implement actions
that wait until power is available to trigger.
Broadcast Action: This is broadcast once when the user is booting after a
system update. It can be used to perform cleanup or upgrades after a
system update.
Broadcast Action: Some content providers have parts of their namespace
where they publish new events or items that the user may be especially
interested in. For these things, they may broadcast this action when the
set of interesting items change.
Activity Action: Start this activity to request system shutdown.
The optional boolean extra field {@link #EXTRA_KEY_CONFIRM} can be set to true
to request confirmation from the user before shutting down. The optional boolean
extra field {@link #EXTRA_USER_REQUESTED_SHUTDOWN} can be set to true to
indicate that the shutdown is requested by the user.
Activity action: Launch UI to review permissions for an app.
The system uses this intent if permission review for apps not
supporting the new runtime permissions model is enabled. In
this mode a permission review is required before any of the
app components can run.
Activity Action: Deliver some data to someone else. Who the data is
being delivered to is not specified; it is up to the receiver of this
action to ask the user where the data should be sent.
Broadcast action: report that a settings element is being restored from backup. The intent
contains four extras: EXTRA_SETTING_NAME is a string naming the restored setting,
EXTRA_SETTING_NEW_VALUE is the value being restored, EXTRA_SETTING_PREVIOUS_VALUE
is the value of that settings entry prior to the restore operation, and
EXTRA_SETTING_RESTORED_FROM_SDK_INT is the version of the SDK that the setting has been
restored from (corresponds to {@link android.os.Build.VERSION#SDK_INT}). The first three
values are represented as strings, the fourth one as int.
Activity Action: Launch an activity showing the app information.
For applications which install other applications (such as app stores), it is recommended
to handle this action for providing the app information to the user.
Broadcast Action: Device is shutting down.
This is broadcast when the device is being shut down (completely turned
off, not sleeping). Once the broadcast is complete, the const shutdown
will proceed and all unsaved data lost. Apps will not normally need
to handle this, since the foreground activity will be paused as well.
Broadcast Action: The sim card state has changed.
For more details see TelephonyIntents.ACTION_SIM_STATE_CHANGED. This is here
because TelephonyIntents is an internal class.
The intent will have following extras.
Broadcast Action: The current device {@link android.content.res.Configuration} has changed
such that the device may be eligible for the installation of additional configuration splits.
Configuration properties that can trigger this broadcast include locale and display density.
Broadcast action: reports when a new thermal event has been reached. When the device
is reaching its maximum temperatue, the thermal level reported
{@hide}
Broadcast Action: The current time has changed. Sent every
minute. You cannot receive this through components declared
in manifests, only by explicitly registering for it with
{@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
Context.registerReceiver()}.
Broadcast Action: The device has entered USB Mass Storage mode.
This is used mainly for the USB Settings panel.
Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified
when the SD card file system is mounted or unmounted
@deprecated replaced by android.os.storage.StorageEventListener
Broadcast Action: The device has exited USB Mass Storage mode.
This is used mainly for the USB Settings panel.
Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified
when the SD card file system is mounted or unmounted
@deprecated replaced by android.os.storage.StorageEventListener
Activity Action: Setup wizard to launch after a platform update. This
activity should have a string meta-data field associated with it,
{@link #METADATA_SETUP_VERSION}, which defines the current version of
the platform for setup. The activity will be launched only if
{@link android.provider.Settings.Secure#LAST_SETUP_SHOWN} is not the
same value.
Broadcast sent to the system when a user is added. Carries an extra
EXTRA_USER_HANDLE that has the userHandle of the new user. It is sent to
all running users. You must hold
{@link android.Manifest.permission#MANAGE_USERS} to receive this broadcast.
@hide
Sent when a user switch is happening, causing the process's user to be
sent to the background. This is only sent to receivers registered
through {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
Context.registerReceiver}. It is sent to the user that is going to the
background. This is sent as a foreground
broadcast, since it is part of a visible user interaction; be as quick
as possible when handling it.
Sent when a user switch is happening, causing the process's user to be
brought to the foreground. This is only sent to receivers registered
through {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
Context.registerReceiver}. It is sent to the user that is going to the
foreground. This is sent as a foreground
broadcast, since it is part of a visible user interaction; be as quick
as possible when handling it.
Broadcast sent to the system when a user's information changes. Carries an extra
{@link #EXTRA_USER_HANDLE} to indicate which user's information changed.
This is only sent to registered receivers, not manifest receivers. It is sent to all users.
@hide
Sent the first time a user is starting, to allow system apps to
perform one time initialization. (This will not be seen by third
party applications because a newly initialized user does not have any
third party applications installed for it.) This is sent early in
starting the user, around the time the home app is started, before
{@link #ACTION_BOOT_COMPLETED} is sent. This is sent as a foreground
broadcast, since it is part of a visible user interaction; be as quick
as possible when handling it.
Broadcast sent to the system when a user is removed. Carries an extra EXTRA_USER_HANDLE that has
the userHandle of the user. It is sent to all running users except the
one that has been removed. The user will not be completely removed until all receivers have
handled the broadcast. You must hold
{@link android.Manifest.permission#MANAGE_USERS} to receive this broadcast.
@hide
Broadcast sent by the system when a user is started. Carries an extra
EXTRA_USER_HANDLE that has the userHandle of the user. This is only sent to
registered receivers, not manifest receivers. It is sent to the user
that has been started. This is sent as a foreground
broadcast, since it is part of a visible user interaction; be as quick
as possible when handling it.
@hide
Broadcast sent when a user is in the process of starting. Carries an extra
EXTRA_USER_HANDLE that has the userHandle of the user. This is only
sent to registered receivers, not manifest receivers. It is sent to all
users (including the one that is being started). You must hold
{@link android.Manifest.permission#INTERACT_ACROSS_USERS} to receive
this broadcast. This is sent as a background broadcast, since
its result is not part of the primary UX flow; to safely keep track of
started/stopped state of a user you can use this in conjunction with
{@link #ACTION_USER_STOPPING}. It is not generally safe to use with
other user state broadcasts since those are foreground broadcasts so can
execute in a different order.
@hide
Broadcast sent to the system when a user is stopped. Carries an extra
EXTRA_USER_HANDLE that has the userHandle of the user. This is similar to
{@link #ACTION_PACKAGE_RESTARTED}, but for an entire user instead of a
specific package. This is only sent to registered receivers, not manifest
receivers. It is sent to all running users except the one that
has just been stopped (which is no longer running).
@hide
Broadcast sent when a user is going to be stopped. Carries an extra
EXTRA_USER_HANDLE that has the userHandle of the user. This is only
sent to registered receivers, not manifest receivers. It is sent to all
users (including the one that is being stopped). You must hold
{@link android.Manifest.permission#INTERACT_ACROSS_USERS} to receive
this broadcast. The user will not stop until all receivers have
handled the broadcast. This is sent as a background broadcast, since
its result is not part of the primary UX flow; to safely keep track of
started/stopped state of a user you can use this in conjunction with
{@link #ACTION_USER_STARTING}. It is not generally safe to use with
other user state broadcasts since those are foreground broadcasts so can
execute in a different order.
@hide
Broadcast sent to the system when the user switches. Carries an extra EXTRA_USER_HANDLE that has
the userHandle of the user to become the current one. This is only sent to
registered receivers, not manifest receivers. It is sent to all running users.
You must hold
{@link android.Manifest.permission#MANAGE_USERS} to receive this broadcast.
@hide
Broadcast Action: Sent when the credential-encrypted private storage has
become unlocked for the target user. This is only sent to registered
receivers, not manifest receivers.
Activity Action: Display the data to the user. This is the most common
action performed on data -- it is the generic action you can use on
a piece of data to get the most reasonable thing to occur. For example,
when used on a contacts entry it will view the entry; when used on a
mailto: URI it will bring up a compose window filled with the information
supplied by the URI; when used with a tel: URI it will invoke the
dialer.
Activity action: Launch UI to show information about the usage
of a given permission. This action would be handled by apps that
want to show details about how and why given permission is being
used.
Broadcast Action: The current system wallpaper has changed. See
{@link android.app.WallpaperManager} for retrieving the new wallpaper.
This should only be used to determine when the wallpaper
has changed to show the new wallpaper to the user. You should certainly
never, in response to this, change the wallpaper or other attributes of
it such as the suggested size. That would be unexpected, right? You'd cause
all kinds of loops, especially if other apps are doing similar things,
right? Of course. So please don't do this.
The accessibility shortcut is a global gesture for users with disabilities to trigger an
important for them accessibility feature to help developers determine whether they want to
make their activity a shortcut target.
Set if the activity should be considered as an alternative action to
the data the user is currently viewing. See also
{@link #CATEGORY_SELECTED_ALTERNATIVE} for an alternative action that
applies to the selection in a list of items.
Used with {@link #ACTION_MAIN} to launch the gallery application.
The activity should be able to view and manipulate image and video files
stored on the device.
Used with {@link #ACTION_MAIN} to launch the music application.
The activity should be able to play, browse, or manipulate music files
stored on the device.
Activities that can be safely invoked from a browser must support this
category. For example, if the user is viewing a web page or an e-mail
and clicks on a link in the text, the Intent generated execute that
link will require the BROWSABLE category, so that only activities
supporting this category will be considered as possible actions. By
supporting this category, you are promising that there is nothing
damaging (without user intervention) that can happen by invoking any
matching Intent.
An activity to run when device is inserted into a car dock.
Used with {@link #ACTION_MAIN} to launch an activity. For more
information, see {@link android.app.UiModeManager}.
Indicates the preferred entry-point activity when an application is launched from a Car
launcher. If not present, Car launcher can optionally use {@link #CATEGORY_LAUNCHER} as a
fallback, or exclude the application entirely.
@hide
Set if the activity should be an option for the default action
(center press) to perform on a piece of data. Setting this will
hide from the user any activities without it set when performing an
action on some data. Note that this is normally -not- set in the
Intent when initiating an action -- it is for use in intent filters
specified in packages.
An activity to run when device is inserted into a car dock.
Used with {@link #ACTION_MAIN} to launch an activity. For more
information, see {@link android.app.UiModeManager}.
An activity to run when device is inserted into a digital (high end) dock.
Used with {@link #ACTION_MAIN} to launch an activity. For more
information, see {@link android.app.UiModeManager}.
Provides information about the package it is in; typically used if
a package does not contain a {@link #CATEGORY_LAUNCHER} to provide
a front-door to the user without having to be shown in the all apps list.
This is the home activity, that is the activity that serves as the launcher app
from there the user can start other apps. Often components with lower/higher
priority intent filters handle the home intent, for example SetupWizard, to
setup the device and we need to be able to distinguish the home app from these
setup helpers.
@hide
An activity to run when device is inserted into a analog (low end) dock.
Used with {@link #ACTION_MAIN} to launch an activity. For more
information, see {@link android.app.UiModeManager}.
Used to indicate that an intent only wants URIs that can be opened with
{@link ContentResolver#openFileDescriptor(Uri, String)}. Openable URIs
must support at least the columns defined in {@link OpenableColumns} when
queried.
Set if the activity should be considered as an alternative selection
action to the data the user has currently selected. This is like
{@link #CATEGORY_ALTERNATIVE}, but is used in activities showing a list
of items from which the user can select, giving them alternatives to the
default action that will be performed on it.
Used to indicate that an intent filter can accept files which are not necessarily
openable by {@link ContentResolver#openFileDescriptor(Uri, String)}, but
at least streamable via
{@link ContentResolver#openTypedAssetFileDescriptor(Uri, String, Bundle)}
using one of the stream types exposed via
{@link ContentResolver#getStreamTypes(Uri, String)}.
Categories for activities that can participate in voice interaction.
An activity that supports this category must be prepared to run with
no UI shown at all (though in some case it may have a UI shown), and
rely on {@link android.app.VoiceInteractor} to interact with the user.
An activity to use for the launcher when the device is placed in a VR Headset viewer.
Used with {@link #ACTION_MAIN} to launch an activity. For more
information, see {@link android.app.UiModeManager}.
Used as an int extra field in {@link android.app.AlarmManager} intents
to tell the application being invoked how many pending alarms are being
delievered with the intent. For one-shot alarms this will always be 1.
For recurring alarms, this might be greater than 1 if the device was
asleep or powered off at the time an earlier alarm would have been
delivered.
Extra used to indicate that an intent can allow the user to select and
return multiple items. This is a boolean extra; the default is false. If
true, an implementation is allowed to present the user with a UI where
they can pick multiple items that are all returned to the caller. When
this happens, they should be returned as the {@link #getClipData()} part
of the result Intent.
Used as a boolean extra field with {@link #ACTION_INSTALL_PACKAGE} to install a
package. Tells the installer UI to skip the confirmation with the user
if the .apk is replacing an existing one.
@deprecated As of {@link android.os.Build.VERSION_CODES#JELLY_BEAN}, Android
will no longer show an interstitial message about updating existing
applications so this is no longer needed.
An optional field on {@link #ACTION_ASSIST} and containing additional contextual
information supplied by the current foreground app at the time of the assist request.
This is a {@link Bundle} of additional data.
Used as a boolean extra field in {@link #ACTION_CHOOSER} intents to specify
whether to show the chooser or not when there is only one application available
to choose from.
An integer extra used with {@link #ACTION_SERVICE_STATE} represents the default roaming
indicator from the PRL if registered on a CDMA or EVDO system {@code -1} if not.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#CDMA_DEFAULT_ROAMING_INDICATOR}.
An integer extra used with {@link #ACTION_SERVICE_STATE} represents the TSB-58 roaming
indicator if registered on a CDMA or EVDO system or {@code -1} if not.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#CDMA_ROAMING_INDICATOR}.
This field is part of {@link android.content.Intent#ACTION_PACKAGE_CHANGED},
and contains a string array of all of the components that have changed. If
the state of the overall package has changed, then it will contain an entry
with the package name itself.
This field is part of
{@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE},
{@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE},
{@link android.content.Intent#ACTION_PACKAGES_SUSPENDED},
{@link android.content.Intent#ACTION_PACKAGES_UNSUSPENDED}
and contains a string array of all of the components that have changed.
This field is part of
{@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE},
{@link android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE}
and contains an integer array of uids of all of the components
that have changed.
An {@link IntentSender} for an Activity that will be invoked when the user makes a selection
from the chooser activity presented by {@link #ACTION_CHOOSER}.
A {@link android.service.chooser.ChooserTarget ChooserTarget[]} for {@link #ACTION_CHOOSER}
describing additional high-priority deep-link targets for the chooser to present to the user.
An {@link IntentSender} that will be notified if a user successfully chooses a target
component to handle an action in an {@link #ACTION_CHOOSER} activity. The IntentSender
will have the extra {@link #EXTRA_CHOSEN_COMPONENT} appended to it containing the
{@link ComponentName} of the chosen component.
@hide
Magic extra system code can use when binding, to give a PendingIntent object
that can be launched for the user to disable the system's use of this
service.
@hide
Magic extra system code can use when binding, to give a label for
who it is that has bound to a service. This is an integer giving
a framework string resource that can be displayed to the user.
A boolean extra used with {@link #ACTION_SERVICE_STATE} which represents concurrent service
support on CDMA network.
Will be {@code true} if support, {@code false} otherwise.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#CSS_INDICATOR}.
A string extra used with {@link #ACTION_SERVICE_STATE} which represents the current
registered data operator name in long alphanumeric format.
{@code null} if the operator name is not known or unregistered.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_ALPHA_LONG}.
A string extra used with {@link #ACTION_SERVICE_STATE} which represents the current
registered data operator name in short alphanumeric format.
{@code null} if the operator name is not known or unregistered.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_ALPHA_SHORT}.
A string extra used with {@link #ACTION_SERVICE_STATE} containing the MCC
(Mobile Country Code, 3 digits) and MNC (Mobile Network code, 2-3 digits) for the
data operator.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_NUMERIC}.
An integer extra used with {@link #ACTION_SERVICE_STATE} which represents the current data
radio technology.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#RIL_DATA_RADIO_TECHNOLOGY}.
An int extra used with {@link #ACTION_SERVICE_STATE} which indicates data registration state.
@see android.telephony.ServiceState#STATE_EMERGENCY_ONLY
@see android.telephony.ServiceState#STATE_IN_SERVICE
@see android.telephony.ServiceState#STATE_OUT_OF_SERVICE
@see android.telephony.ServiceState#STATE_POWER_OFF
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_REG_STATE}.
Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
intents to indicate whether this represents a full uninstall (removing
both the code and its data) or a partial uninstall (leaving its data,
implying that this is an update).
An integer extra used with {@link #ACTION_SERVICE_STATE} which indicates the data roaming
type.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_ROAMING_TYPE}.
An integer denoting a bitwise combination of restrictions set on distracting packages via
{@link PackageManager#setDistractingPackageRestrictions(String[], int)}
Used as an int extra field in {@link android.content.Intent#ACTION_DOCK_EVENT}
intents to request the dock state. Possible values are
{@link android.content.Intent#EXTRA_DOCK_STATE_UNDOCKED},
{@link android.content.Intent#EXTRA_DOCK_STATE_DESK}, or
{@link android.content.Intent#EXTRA_DOCK_STATE_CAR}, or
{@link android.content.Intent#EXTRA_DOCK_STATE_LE_DESK}, or
{@link android.content.Intent#EXTRA_DOCK_STATE_HE_DESK}.
Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED} or
{@link android.content.Intent#ACTION_PACKAGE_CHANGED} intents to override the default action
of restarting the application.
A boolean extra used with {@link #ACTION_SERVICE_STATE} which indicates if under emergency
only mode.
{@code true} if in emergency only mode, {@code false} otherwise.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#IS_EMERGENCY_ONLY}.
Boolean intent extra to be used with {@link #ACTION_MASTER_CLEAR} in order to force a factory
reset even if {@link android.os.UserManager#DISALLOW_FACTORY_RESET} is set.
Boolean intent extra to be used with {@link #ACTION_MASTER_CLEAR} in order to force a factory
reset even if {@link android.os.UserManager#DISALLOW_FACTORY_RESET} is set.
A constant String that is associated with the Intent, used with
{@link #ACTION_SEND} to supply an alternative to {@link #EXTRA_TEXT}
as HTML formatted text. Note that you must also supply
{@link #EXTRA_TEXT}.
A Parcelable[] of {@link Intent} or
{@link android.content.pm.LabeledIntent} objects as set with
{@link #putExtra(String, Parcelable[])} of additional activities to place
a the front of the list of choices, when shown to the user with a
{@link #ACTION_CHOOSER}.
Used as a string extra field with {@link #ACTION_INSTALL_PACKAGE} to install a
package. Specifies the installer package name; this package will receive the
{@link #ACTION_APP_ERROR} intent.
A {@link Bundle} of metadata that describes the instant application that needs to be
installed. This data is populated from the response to
{@link android.content.pm.InstantAppResolveInfo#getExtras()} as provided by the registered
instant application resolver.
@hide
A boolean extra used with {@link #ACTION_SERVICE_STATE} which indicates whether data network
registration state is roaming.
{@code true} if registration indicates roaming, {@code false} otherwise
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#IS_DATA_ROAMING_FROM_REGISTRATION}.
A boolean extra used with {@link #ACTION_SERVICE_STATE} which indicates if carrier
aggregation is in use.
{@code true} if carrier aggregation is in use, {@code false} otherwise.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#IS_USING_CARRIER_AGGREGATION}.
Extra used to indicate that an intent should only return data that is on
the local device. This is a boolean extra; the default is false. If true,
an implementation should only allow the user to select data that is
already on the device, not requiring it be downloaded from a remote
service when opened.
An integer extra used with {@link #ACTION_SERVICE_STATE} representing the offset which
is reduced from the rsrp threshold while calculating signal strength level.
@hide
@removed
A boolean extra used with {@link #ACTION_SERVICE_STATE} which indicates whether the current
network selection mode is manual.
Will be {@code true} if manual mode, {@code false} if automatic mode.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#IS_MANUAL_NETWORK_SELECTION}.
Used as an int extra field in {@link #ACTION_MEDIA_RESOURCE_GRANTED}
intents to specify the resource type granted. Possible values are
{@link #EXTRA_MEDIA_RESOURCE_TYPE_VIDEO_CODEC} or
{@link #EXTRA_MEDIA_RESOURCE_TYPE_AUDIO_CODEC}.
Extra used to communicate a set of acceptable MIME types. The type of the
extra is {@code String[]}. Values may be a combination of concrete MIME
types (such as "image/png") and/or partial MIME types (such as
"audio/*").
An integer extra used with {@link #ACTION_SERVICE_STATE} which represents the CDMA network
id. {@code Integer.MAX_VALUE} if unknown.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#NETWORK_ID}.
Used as a boolean extra field with {@link #ACTION_INSTALL_PACKAGE} to install a
package. Specifies that the application being installed should not be
treated as coming from an unknown source, but as coming from the app
invoking the Intent. For this to work you must start the installer with
startActivityForResult().
A string extra used with {@link #ACTION_SERVICE_STATE} which represents the current
registered voice operator name in long alphanumeric format.
{@code null} if the operator name is not known or unregistered.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_ALPHA_LONG}.
A string extra used with {@link #ACTION_SERVICE_STATE} which represents the current
registered voice operator name in short alphanumeric format.
{@code null} if the operator name is not known or unregistered.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_ALPHA_SHORT}.
A string extra used with {@link #ACTION_SERVICE_STATE} containing the MCC
(Mobile Country Code, 3 digits) and MNC (Mobile Network code, 2-3 digits) for the mobile
network.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_NUMERIC}.
Used as an int extra field with {@link #ACTION_INSTALL_PACKAGE} and
{@link #ACTION_VIEW} to indicate the uid of the package that initiated the install
Currently only a system app that hosts the provider authority "downloads" or holds the
permission {@link android.Manifest.permission.MANAGE_DOCUMENTS} can use this.
@hide
Used as a URI extra field with {@link #ACTION_INSTALL_PACKAGE} and
{@link #ACTION_VIEW} to indicate the URI from which the local APK in the Intent
data field originated from.
A String holding the phone number originally entered in
{@link android.content.Intent#ACTION_NEW_OUTGOING_CALL}, or the actual
number to call in a {@link android.content.Intent#ACTION_CALL}.
The name of the extra used to define the text to be processed, as a
CharSequence. Note that this may be a styled CharSequence, so you must use
{@link Bundle#getCharSequence(String) Bundle.getCharSequence()} to retrieve it.
Tells the quick viewer to show additional UI actions suitable for the passed Uris,
such as opening in other apps, sharing, opening, editing, printing, deleting,
casting, etc.
An optional extra of {@code String[]} indicating which quick view features should be made
available to the user in the quick view UI while handing a
{@link Intent#ACTION_QUICK_VIEW} intent.
Optional boolean extra indicating whether quiet mode has been switched on or off.
When a profile goes into quiet mode, all apps in the profile are killed and the
profile user is stopped. Widgets originating from the profile are masked, and app
launcher icons are grayed out.
The extra used with {@link #ACTION_SIM_STATE_CHANGED} for indicating whether this broadcast
is a rebroadcast on unlock. Defaults to {@code false} if not specified.
This extra can be used with any Intent used to launch an activity, supplying information
about who is launching that activity. This field contains a {@link android.net.Uri}
object, typically an http: or https: URI of the web site that the referral came from;
it can also use the {@link #URI_ANDROID_APP_SCHEME android-app:} scheme to identify
a native application that it came from.
Alternate version of {@link #EXTRA_REFERRER} that supplies the URI as a String rather
than a {@link android.net.Uri} object. Only for use in cases where Uri objects can
not be created, in particular when Intent extras are supplied through the
{@link #URI_INTENT_SCHEME intent:} or {@link #URI_ANDROID_APP_SCHEME android-app:}
schemes.
@hide
Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
intents to indicate that at this point the package has been removed for
all users on the device.
A Bundle forming a mapping of potential target package names to different extras Bundles
to add to the default intent extras in {@link #EXTRA_INTENT} when used with
{@link #ACTION_CHOOSER}. Each key should be a package name. The package need not
be currently installed on the device.
Used as a boolean extra field in {@link android.content.Intent#ACTION_PACKAGE_REMOVED}
intents to indicate that this is a replacement of the package, so this
broadcast will immediately be followed by an add broadcast for a
different version of the same package.
Extra sent in the intent to the BroadcastReceiver that handles
{@link #ACTION_GET_RESTRICTION_ENTRIES}. The type of the extra is a Bundle containing
the restrictions as key/value pairs.
Extra used in the response from a BroadcastReceiver that handles
{@link #ACTION_GET_RESTRICTION_ENTRIES}. The type of the extra is
ArrayList<RestrictionEntry>.
Used as a boolean extra field with {@link #ACTION_INSTALL_PACKAGE} or
{@link #ACTION_UNINSTALL_PACKAGE}. Specifies that the installer UI should
return to the application the result code of the install/uninstall. The returned result
code will be {@link android.app.Activity#RESULT_OK} on success or
{@link android.app.Activity#RESULT_FIRST_USER} on failure.
Optional extra for {@link #ACTION_SHUTDOWN} that allows the sender to qualify that
this shutdown is only for the user space of the system, not a complete shutdown.
When this is true, hardware devices can use this information to determine that
they shouldn't do a complete shutdown of their device since this is not a
complete shutdown down to the kernel, but only user space restarting.
The default if not supplied is false.
Optional {@link android.app.PendingIntent} extra used to deliver the result of the SIM
activation request.
TODO: Add information about the structure and response data used with the pending intent.
@hide
The extra used with {@link #ACTION_SIM_STATE_CHANGED} for broadcasting SIM STATE.
This will have one of the following intent values.
@see #SIM_STATE_UNKNOWN
@see #SIM_STATE_NOT_READY
@see #SIM_STATE_ABSENT
@see #SIM_STATE_PRESENT
@see #SIM_STATE_CARD_IO_ERROR
@see #SIM_STATE_CARD_RESTRICTED
@see #SIM_STATE_LOCKED
@see #SIM_STATE_READY
@see #SIM_STATE_IMSI
@see #SIM_STATE_LOADED
@hide
@deprecated Use {@link #ACTION_SIM_CARD_STATE_CHANGED}
An integer extra used with {@link #ACTION_SERVICE_STATE} which represents the CDMA system id.
{@code Integer.MAX_VALUE} if unknown.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#SYSTEM_ID}.
An int representing the task id to be retrieved. This is used when a launch from recents is
intercepted by another action such as credentials confirmation to remember which task should
be resumed when complete.
The initial data to place in a newly created record. Use with
{@link #ACTION_INSERT}. The data here is a Map containing the same
fields as would be given to the underlying ContentProvider.insert()
call.
A constant CharSequence that is associated with the Intent, used with
{@link #ACTION_SEND} to supply the literal data to be sent. Note that
this may be a styled CharSequence, so you must use
{@link Bundle#getCharSequence(String) Bundle.getCharSequence()} to
retrieve it.
Thermal state where the device has reached its maximum threshold. This state is sent in the
{@link #ACTION_THERMAL_EVENT} broadcast as {@link #EXTRA_THERMAL_STATE}.
{@hide}
Thermal state where the device is approaching its maximum threshold. This state is sent in
the {@link #ACTION_THERMAL_EVENT} broadcast as {@link #EXTRA_THERMAL_STATE}.
{@hide}
Optional int extra for {@link #ACTION_TIME_CHANGED} that indicates the
user has set their time format preference. See {@link #EXTRA_TIME_PREF_VALUE_USE_12_HOUR},
{@link #EXTRA_TIME_PREF_VALUE_USE_24_HOUR} and
{@link #EXTRA_TIME_PREF_VALUE_USE_LOCALE_DEFAULT}. The value must not be negative.
Used as an int extra field in {@link android.content.Intent#ACTION_UID_REMOVED}
intents to supply the uid the package had been assigned. Also an optional
extra in {@link android.content.Intent#ACTION_PACKAGE_REMOVED} or
{@link android.content.Intent#ACTION_PACKAGE_CHANGED} for the same
purpose.
A boolean value indicating that the instant app resolver was unable to state with certainty
that it did or did not have an app for the sanitized {@link Intent} defined at
{@link #EXTRA_INTENT}.
@hide
The integer userHandle (i.e. userId) carried with broadcast intents related to addition,
removal and switching of users and managed profiles - {@link #ACTION_USER_ADDED},
{@link #ACTION_USER_REMOVED} and {@link #ACTION_USER_SWITCHED}.
An integer extra used with {@link #ACTION_SERVICE_STATE} which represents the current voice
radio technology.
@hide
@removed
@deprecated Use
{@link android.provider.Telephony.ServiceStateTable#RIL_VOICE_RADIO_TECHNOLOGY}.
An int extra used with {@link #ACTION_SERVICE_STATE} which indicates voice registration
state.
@see android.telephony.ServiceState#STATE_EMERGENCY_ONLY
@see android.telephony.ServiceState#STATE_IN_SERVICE
@see android.telephony.ServiceState#STATE_OUT_OF_SERVICE
@see android.telephony.ServiceState#STATE_POWER_OFF
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_REG_STATE}.
An integer extra used with {@link #ACTION_SERVICE_STATE} which indicates the voice roaming
type.
@hide
@removed
@deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_ROAMING_TYPE}.
{@hide}
This extra will be set to true when the user choose to wipe the data on eSIM during factory
reset for the device with eSIM. This extra will be sent together with
{@link #ACTION_FACTORY_RESET}
This flag is not normally set by application code, but set for you by
the system as described in the
{@link android.R.styleable#AndroidManifestActivity_launchMode
launchMode} documentation for the singleTask mode.
If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
this flag will cause any existing task that would be associated with the
activity to be cleared before the activity is started. That is, the activity
becomes the new root of an otherwise empty task, and any old activities
are finished. This can only be used in conjunction with {@link #FLAG_ACTIVITY_NEW_TASK}.
If set, and the activity being launched is already running in the
current task, then instead of launching a new instance of that activity,
all of the other activities on top of it will be closed and this Intent
will be delivered to the (now on top) old activity as a new Intent.
If set and this intent is being used to launch a new activity from an
existing one, then the reply target of the existing activity will be
transferred to the new activity. This way, the new activity can call
{@link android.app.Activity#setResult} and have that result sent back to
the reply target of the original activity.
This flag is only used for split-screen multi-window mode. The new activity will be displayed
adjacent to the one launching it. This can only be used in conjunction with
{@link #FLAG_ACTIVITY_NEW_TASK}. Also, setting {@link #FLAG_ACTIVITY_MULTIPLE_TASK} is
required if you want a new instance of an existing activity to be created.
If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
this flag will attempt to launch an instant app if no full app on the device can already
handle the intent.
This flag is used to create a new task and launch an activity into it.
This flag is always paired with either {@link #FLAG_ACTIVITY_NEW_DOCUMENT}
or {@link #FLAG_ACTIVITY_NEW_TASK}. In both cases these flags alone would
search through existing tasks for ones matching this Intent. Only if no such
task is found would a new task be created. When paired with
FLAG_ACTIVITY_MULTIPLE_TASK both of these behaviors are modified to skip
the search for a matching task and unconditionally start a new task.
This flag is used to open a document into a new task rooted at the activity launched
by this Intent. Through the use of this flag, or its equivalent attribute,
{@link android.R.attr#documentLaunchMode} multiple instances of the same activity
containing different documents will appear in the recent tasks list.
If set, this activity will become the start of a new task on this
history stack. A task (from the activity that started it to the
next task activity) defines an atomic group of activities that the
user can move to. Tasks can be moved to the foreground and background;
all of the activities inside of a particular task always remain in
the same order. See
Tasks and Back
Stack for more information about tasks.
If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
this flag will prevent the system from applying an activity transition
animation to go to the next activity state. This doesn't mean an
animation will never run -- if another activity change happens that doesn't
specify this flag before the activity started here is displayed, then
that transition will be used. This flag can be put to good use
when you are going to do a series of activity operations but the
animation seen by the user shouldn't be driven by the first activity
change but rather a later one.
If set, the new activity is not kept in the history stack. As soon as
the user navigates away from it, the activity is finished. This may also
be set with the {@link android.R.styleable#AndroidManifestActivity_noHistory
noHistory} attribute.
If set, this flag will prevent the normal {@link android.app.Activity#onUserLeaveHint}
callback from occurring on the current frontmost activity before it is
paused as the newly-started activity is brought to the front.
If set and this intent is being used to launch a new activity from an
existing one, the current activity will not be counted as the top
activity for deciding whether the new intent should be delivered to
the top instead of starting a new one. The previous activity will
be used as the top, with the assumption being that the current activity
will finish itself immediately.
If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
this flag will cause the launched activity to be brought to the front of its
task's history stack if it is already running.
If set in an intent passed to {@link Context#startActivity Context.startActivity()}, this
flag will only launch the intent if it resolves to a single result. If no such result exists
or if the system chooser would otherwise be displayed, an {@link ActivityNotFoundException}
will be thrown.
If set in an intent passed to {@link Context#startActivity Context.startActivity()}, this
flag will only launch the intent if it resolves to a result that is not a browser. If no such
result exists, an {@link ActivityNotFoundException} will be thrown.
If set, and this activity is either being started in a new task or
bringing to the top an existing task, then it will be launched as
the front door of the task. This will result in the application of
any affinities needed to have that task in the proper state (either
moving activities to or from it), or simply resetting that task to
its initial state if needed.
By default a document created by {@link #FLAG_ACTIVITY_NEW_DOCUMENT} will
have its entry in recent tasks removed when the user closes it (with back
or however else it may finish()). If you would like to instead allow the
document to be kept in recents so that it can be re-launched, you can use
this flag. When set and the task's activity is finished, the recents
entry will remain in the interface for the user to re-launch it, like a
recents entry for a top-level application.
If set in an Intent passed to {@link Context#startActivity Context.startActivity()},
this flag will cause a newly launching task to be placed on top of the current
home activity task (if there is one). That is, pressing back from the task
will always return the user to home even if that was not the last activity they
saw. This can only be used in conjunction with {@link #FLAG_ACTIVITY_NEW_TASK}.
A flag you can enable for debugging: when set, log messages will be
printed during the resolution of this intent to show you what has
been found to create the const resolved list.
If set, this intent will not match any components in packages that
are currently stopped. If this is not set, then the default behavior
is to include such applications in the result.
When combined with {@link #FLAG_GRANT_READ_URI_PERMISSION} and/or
{@link #FLAG_GRANT_WRITE_URI_PERMISSION}, the URI permission grant can be
persisted across device reboots until explicitly revoked with
{@link Context#revokeUriPermission(Uri, int)}. This flag only offers the
grant for possible persisting; the receiving application must call
{@link ContentResolver#takePersistableUriPermission(Uri, int)} to
actually persist.
When combined with {@link #FLAG_GRANT_READ_URI_PERMISSION} and/or
{@link #FLAG_GRANT_WRITE_URI_PERMISSION}, the URI permission grant
applies to any URI that is a prefix match against the original granted
URI. (Without this flag, the URI must match exactly for access to be
granted.) Another URI is considered a prefix match only when scheme,
authority, and all path segments defined by the prefix are an exact
match.
If set, the recipient of this Intent will be granted permission to
perform read operations on the URI in the Intent's data and any URIs
specified in its ClipData. When applying to an Intent's ClipData,
all URIs as well as recursive traversals through data or other ClipData
in Intent items will be granted; only the grant flags of the top-level
Intent are used.
If set, the recipient of this Intent will be granted permission to
perform write operations on the URI in the Intent's data and any URIs
specified in its ClipData. When applying to an Intent's ClipData,
all URIs as well as recursive traversals through data or other ClipData
in Intent items will be granted; only the grant flags of the top-level
Intent are used.
If set, this intent will always match any components in packages that
are currently stopped. This is the default behavior when
{@link #FLAG_EXCLUDE_STOPPED_PACKAGES} is not set. If both of these
flags are set, this one wins (it allows overriding of exclude for
places where the framework may automatically set the exclude flag).
Set when this broadcast is for a boot upgrade, a special mode that
allows the broadcast to be sent before the system is ready and launches
the app process with no providers running in it.
@hide
If set, the broadcast will never go to manifest receivers in background (cached
or not running) apps, regardless of whether that would be done by default. By
default they will receive broadcasts if the broadcast has specified an
explicit component or package name.
@hide
If set, when sending a broadcast the recipient is allowed to run at
foreground priority, with a shorter timeout interval. During normal
broadcasts the receivers are not automatically hoisted out of the
background priority class.
If set, the broadcast will always go to manifest receivers in background (cached
or not running) apps, regardless of whether that would be done by default. By
default they will only receive broadcasts if the broadcast has specified an
explicit component or package name.
If this is an ordered broadcast, don't allow receivers to abort the broadcast.
They can still propagate results through to later receivers, but they can not prevent
later receivers from seeing the broadcast.
If set, when sending a broadcast before the system has fully booted up
(which is even before {@link #ACTION_LOCKED_BOOT_COMPLETED} has been sent)" only
registered receivers will be called -- no BroadcastReceiver components
will be launched. Sticky intent state will be recorded properly even
if no receivers wind up being called. If {@link #FLAG_RECEIVER_REGISTERED_ONLY}
is specified in the broadcast intent, this flag is unnecessary.
If set, when sending a broadcast the new broadcast will replace
any existing pending broadcast that matches it. Matching is defined
by {@link Intent#filterEquals(Intent) Intent.filterEquals} returning
true for the intents of the two broadcasts. When a match is found,
the new broadcast (and receivers associated with it) will replace the
existing one in the pending broadcast list, remaining at the same
position in the list.
The intent value CARD_RESTRICTED means card is present but not usable due to carrier
restrictions
@hide
@deprecated Use {@link #ACTION_SIM_CARD_STATE_CHANGED}
The intent value NOT_READY means that the SIM is not ready eg. radio is off or powering on
@hide
@deprecated Use {@link #ACTION_SIM_CARD_STATE_CHANGED}