Instant apps rely on pickers and other system-defined components to do work. To ensure a basic set of functionality for Instant Apps, the Android CDD specifies a set of core apps that must be present on compatible devices and provide their functionality to Instant Apps through Intent handlers. Instant apps can safely request the functionality through these Intents and be assured that the Intent is handled properly.
The table below lists the common Intents for Instant Apps on compatible Android devices, along with the API level in which they were introduced as CTS requirements on devices that support Instant Apps. To learn more about Intents or how to send them, see the documentation.
Intent action | Intent category | Intent MIME type | API introduced (for Instant Apps) |
---|---|---|---|
android.intent.action.CHOOSER | none | none | Android 8 (API 26) |
android.intent.action.PICK | none | vnd.android.cursor.dir/contact | Android 8 (API 26) |
android.intent.action.PICK | none | vnd.android.cursor.dir/phone_v2 | Android 8 (API 26) |
android.intent.action.PICK | none | vnd.android.cursor.dir/email_v2 | Android 8 (API 26) |
android.intent.action.PICK | none | vnd.android.cursor.dir/postal-address_v2 | Android 8 (API 26) |
android.intent.action.OPEN_DOCUMENT | CATEGORY_OPENABLE | */* | Android 8 (API 26) |
android.intent.action.OPEN_DOCUMENT | none | */* | Android 8 (API 26) |
android.intent.action.GET_CONTENT | CATEGORY_OPENABLE | */* | Android 8 (API 26) |
android.intent.action.GET_CONTENT | none | */* | Android 8 (API 26) |
android.intent.action.OPEN_DOCUMENT_TREE | none | none | Android 8 (API 26) |
android.intent.action.CREATE_DOCUMENT | CATEGORY_OPENABLE | text/plain | Android 8 (API 26) |
android.intent.action.CREATE_DOCUMENT | none | text/plain | Android 8 (API 26) |
android.media.action.IMAGE_CAPTURE1 | none | none | Android 8 (API 26) |
android.media.action.VIDEO_CAPTURE 1 | none | none | Android 8 (API 26) |
- Available only on devices that support FEATURE_CAMERA or FEATURE_CAMERA_ANY