• Android Video Tutorials

Android - Intent Standard Extra Data



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.No Extra Data & Description
1

EXTRA_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.

2

EXTRA_ALLOW_MULTIPLE

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

3

EXTRA_ALLOW_REPLACE

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

4

EXTRA_BCC

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

5

EXTRA_CC

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

6

EXTRA_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.

7

EXTRA_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

8

EXTRA_DOCK_STATE

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

9

EXTRA_DOCK_STATE_CAR

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

10

EXTRA_DOCK_STATE_DESK

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

11

EXTRA_EMAIL

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

12

EXTRA_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.

13

EXTRA_INTENT

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

14

EXTRA_KEY_EVENT

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

15

EXTRA_LOCAL_ONLY

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

16

EXTRA_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.

17

EXTRA_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.

18

EXTRA_SHORTCUT_ICON

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

19

EXTRA_SHORTCUT_INTENT

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

20

EXTRA_SHORTCUT_NAME

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

21

EXTRA_STREAM

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

22

EXTRA_SUBJECT

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

23

EXTRA_TEMPLATE

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

24

EXTRA_TEXT

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

25

EXTRA_TITLE

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

26

EXTRA_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