List of extras

Show: Applications Intents URIs Extras

This is a list of extras that can be used in intents. Add a new extra.

Title Extra keys Teaser
Application label org.openintents.extra.APPLICATION_LABEL

The name of an application (human readable). String extra. For instance: "OI About".

Artists org.openintents.extra.ARTISTS

A list of (application development) artists' names, together with their email addresses, URLs and other denominations. Array of strings extra. One artist string per array element.

Authors org.openintents.extra.AUTHORS

A list of (application development) authors' names, together with their email addresses, URLs and other denominations. Array of strings extra. One author string per array element.

Bluetooth watch (Text lines) com.smartmadsoft.openwatch.action.*
line1
line2
Button text org.openintents.extra.BUTTON_TEXT

Text for the default button of an activity.

Category com.funkyandroid.CATEGORY

A String holding the category of an item. This should be a textual representation and not an id (e.g. Hotel expenses).

Comments org.openintents.extra.COMMENTS

Comments text. Usually short explanation, about one or a few paragraphs, not too long or detailed. String extra.

Copyright org.openintents.extra.COPYRIGHT

Copyright information string. String extra. For instance: "Copyright (C) 2009 OpenIntents".

Currency code (in ISO 4217 format) com.funkyandroid.CURRENCY

A string holding an ISO 4217 currency code (e.g. "USD")

Current version current_version
current_version_name

current version code of the application, current_version_name is the version name

Date in milliseconds from EPOC com.funkyandroid.DATE

A long value holding the date in milliseconds from the epoc as returned by System.currentTimeMillis(), (new Date()).getTime(), or Calendar.getInstance().getTimeInMillis().

Decimal numeric value org.openintents.extra.AMOUNT

Used to specify a decimal value. Is always of type double.

Documenters org.openintents.extra.DOCUMENTERS

A list of (application development) documenters' names, together with their email addresses, URLs and other denominations. Array of strings extra. One documenter string per array element.

Email org.openintents.extra.EMAIL

An email address.

Encode data ENCODE_DATA
ENCODE_TYPE

Data to encode.

Flickr NSID com.google.android.photostream.extra_nsid

NSID of Flickr user.

Flickr photo com.google.android.photostream.extra_photo

Flickr photo.

Flickr user com.google.android.photostream.extra_user

Flickr user name.

Icon resource org.openintents.extra.ICON_RESOURCE

The resource identifier of an icon. String extra, but not necessarily text.

Icon uri org.openintents.extra.ICON_URI

The content uri of an icon. String extra.

Intent android.intent.extra.INTENT

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

latitude latitude
License org.openintents.extra.LICENSE_RESOURCE

A license, EULA, or legal information text resource id. The resource id is of a raw text resource. String extra. Can be a long multi-paragraphed text. Usually will at least fill the whole screen. The text is wrapped in the text view by default.

longitude longitude

Longitude

Monetary amount com.funkyandroid.AMOUNT

This should be a String holding a textual representation of an amount without a currency symbol (e.g. "123.45"). The currency symbol is not included because only the receiving intent is aware of currencies it supports.

Package name org.openintents.extra.PACKAGE_NAME

The name of the (java) package. String extra.

Payee for financial transaction com.funkyandroid.PAYEE

A string holding the Payee for a transaction.

Query query

Query string for search action.

Remote Host org.openintents.remote.intent.extra.HOST

Specifies the host on which to execute a remote intent.

Ringtone input android.intent.extra.ringtone.EXISTING_URI
android.intent.extra.ringtone.SHOW_DEFAULT
android.intent.extra.ringtone.SHOW_SILENT
android.intent.extra.ringtone.TYPE
android.intent.extra.ringtone.DEFAULT_URI
android.intent.extra.ringtone.TITLE
android.intent.extra.ringtone.INCLUDE_DRM

Ringtone extras for input.

Ringtone output android.intent.extra.ringtone.PICKED_URI

Returned from the ringtone picker as a Uri.

Scan mode SCAN_MODE

Provide optional scan mode.

Scan result SCAN_RESULT

Result of scan if successful.

Shortcut extras android.intent.extra.shortcut.ICON
android.intent.extra.shortcut.ICON_RESOURCE
android.intent.extra.shortcut.INTENT
android.intent.extra.shortcut.NAME

Specify a new shortcut.

tag tag

the tag for the contents as a string

Text android.intent.extra.TEXT

Text content.

Title org.openintents.extra.TITLE

Text to display in the title bar of an activity.

Translators org.openintents.extra.TRANSLATORS

A list of (application development) translators' names, together with their email addresses, URLs and other denominations. Array of strings extra. One translator string per array element.

Twitter Message com.twidroid.extra.MESSAGE

intent.putExtra("com.twidroid.extra.MESSAGE",
"This is a test from Twidroid public intent.");

Type of measurement android.intent.extra.measurement.TYPE

Specifies the physical characteristic being measured.

uri uri

content uri of contents to be tagged.

Url of a stream android.intent.extra.STREAM

Identifies as stream that will be handled by the receiver of the intent. Note that the url must be accessible by the receiving activity (important for content:// urls)

Version name org.openintents.extra.VERSION_NAME

The version (numbers, code, build, other identifier, ...) of an application (human readable). String extra. Do not add the program name. For instance: "0.1.0".

Website url org.openintents.extra.WEBSITE_URL
org.openintents.extra.WEBSITE_LABEL

WEBSITE_URL: A URL for a link to a website. String extra. For instance: "http://www.openintents.org".
WEBSITE_LABEL: An optional label to display instead of the link URL. String extra. Optional. For instance: "OpenIntents.org".