Android Intent Standard Actions


Advertisements


Following table lists down various important Android Intent Standard Extra Data. You can check Android Official Documentation for a complete list of Extra Data:

Sr.NoExtra Data & Description
1EXTRA_ALARM_COUNT

Used as an int extra field in AlarmManager intents to tell the application being invoked how many pending alarms are being delievered with the intent.

2EXTRA_ALLOW_MULTIPLE

Used to indicate that a ACTION_GET_CONTENT intent can allow the user to select and return multiple items.

3EXTRA_ALLOW_REPLACE

Used as a boolean extra field with ACTION_INSTALL_PACKAGE to install a package.

4EXTRA_BCC

A String[] holding e-mail addresses that should be blind carbon copied.

5EXTRA_CC

A String[] holding e-mail addresses that should be carbon copied.

6EXTRA_CHANGED_COMPONENT_NAME_LIST

This field is part of ACTION_PACKAGE_CHANGED, and contains a string array of all of the components that have changed.

7EXTRA_DATA_REMOVED

Used as a boolean extra field in ACTION_PACKAGE_REMOVED intents to indicate whether this represents a full uninstall or a partial uninstall

8EXTRA_DOCK_STATE

Used as an int extra field in ACTION_DOCK_EVENT intents to request the dock state.

9EXTRA_DOCK_STATE_CAR

Used as an int value for EXTRA_DOCK_STATE to represent that the phone is in a car dock.

10EXTRA_DOCK_STATE_DESK

Used as an int value for EXTRA_DOCK_STATE to represent that the phone is in a desk dock.

11EXTRA_EMAIL

A String[] holding e-mail addresses that should be delivered to.

12EXTRA_HTML_TEXT

A constant String that is associated with the Intent, used with ACTION_SEND to supply an alternative to EXTRA_TEXT as HTML formatted text.

13EXTRA_INTENT

An Intent describing the choices you would like shown with ACTION_PICK_ACTIVITY.

14EXTRA_KEY_EVENT

A KeyEvent object containing the event that triggered the creation of the Intent it is in.

15EXTRA_LOCAL_ONLY

Used to indicate that a ACTION_GET_CONTENT intent should only return data that is on the local device.

16EXTRA_ORIGINATING_URI

Used as a URI extra field with ACTION_INSTALL_PACKAGE and ACTION_VIEW to indicate the URI from which the local APK in the Intent data field originated from.

17EXTRA_PHONE_NUMBER

A String holding the phone number originally entered in ACTION_NEW_OUTGOING_CALL, or the actual number to call in a ACTION_CALL.

18EXTRA_SHORTCUT_ICON

The name of the extra used to define the icon, as a Bitmap, of a shortcut.

19EXTRA_SHORTCUT_INTENT

The name of the extra used to define the Intent of a shortcut.

20EXTRA_SHORTCUT_NAME

The name of the extra used to define the name of a shortcut.

21EXTRA_STREAM

URI holding a stream of data associated with the Intent, used with ACTION_SEND to supply the data being sent.

22EXTRA_SUBJECT

A constant string holding the desired subject line of a message.

23EXTRA_TEMPLATE

The initial data to place in a newly created record. Use with ACTION_INSERT.

24EXTRA_TEXT

A constant CharSequence that is associated with the Intent, used with ACTION_SEND to supply the literal data to be sent.

25EXTRA_TITLE

A CharSequence dialog title to provide to the user when used with a ACTION_CHOOSER.

26EXTRA_UID

Used as an int extra field in ACTION_UID_REMOVED intents to supply the uid the package had been assigned.


android_intents_filters.htm

Advertisements