免安裝應用程式常見意圖
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
警告:Google Play 免安裝應用程式將停止提供服務。2025 年 12 月起,您無法透過 Google Play 發布免安裝應用程式,且所有 Google Play 服務免安裝 API 都將停止運作。Play 不會再透過任何機制向使用者提供免安裝應用程式。
我們根據開發人員的意見,並持續投入資源改善 Google Play Instant 推出後的生態系統,做出這項變更。
如要持續促進使用人數成長,建議開發人員使用深層連結,將使用者導向標準版應用程式或遊戲,並在適當情況下將他們重新導向至特定路徑或功能。
即時應用程式會使用選擇器和其他系統定義的元件來執行工作。為確保免安裝應用程式具備基本功能,Android CDD 會指定一組必須存在於相容裝置上的核心應用程式,並透過 Intent 處理常式將功能提供給免安裝應用程式。即時應用程式可透過這些 Intent 安全地要求功能,並確保 Intent 獲得妥善處理。
下表列出適用於相容 Android 裝置的即時應用程式常用 Intent,以及在支援即時應用程式的裝置上,這些 Intent 成為 CTS 規定時的 API 級別。如要進一步瞭解意圖或如何傳送意圖,請參閱說明文件。
- 僅適用於支援 FEATURE_CAMERA 或 FEATURE_CAMERA_ANY 的裝置
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Instant App Common Intents\n\n**Warning:** Google Play Instant will no longer be available. Starting December 2025,\nInstant Apps cannot be published through Google Play, and all\n[Google Play services Instant APIs](https://developers.google.com/android/reference/com/google/android/gms/instantapps/package-summary)\nwill no longer work. Users will no longer be served Instant Apps by Play using any\nmechanism.\n\nWe're making this change based on developer feedback and our continuous investments\nto improve the ecosystem since the introduction of Google Play Instant.\n\nTo continue optimizing for user growth, we encourage developers to refer users to\ntheir regular app or game, using [deeplinks](https://support.google.com/googleplay/android-developer/answer/12463044)\nto redirect them to specific journeys or features when relevant.\n\nInstant apps rely on pickers and other system-defined components to do work.\nTo ensure a basic set of functionality for Instant Apps,\nthe Android CDD specifies a set of core apps that must be present on\ncompatible devices and provide their functionality to Instant Apps\nthrough Intent handlers. Instant apps can safely request the functionality\nthrough these Intents and be assured that the Intent is handled properly.\n\nThe table below lists the common Intents for Instant Apps on\ncompatible Android devices, along with the API level in which they\nwere introduced as CTS requirements on devices that support Instant Apps.\nTo learn more about Intents or how to send them, see the\n[documentation](/guide/components/intents-filters).\n\n| Intent action | Intent category | Intent MIME type | API introduced (for Instant Apps) |\n|---------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|------------------------------------------|-----------------------------------|\n| [android.intent.action.CHOOSER](/reference/android/content/Intent#CHOOSER) | none | none | Android 8 (API 26) |\n| [android.intent.action.PICK](/reference/android/content/Intent#ACTION_PICK) | none | vnd.android.cursor.dir/contact | Android 8 (API 26) |\n| [android.intent.action.PICK](/reference/android/content/Intent#ACTION_PICK) | none | vnd.android.cursor.dir/phone_v2 | Android 8 (API 26) |\n| [android.intent.action.PICK](/reference/android/content/Intent#ACTION_PICK) | none | vnd.android.cursor.dir/email_v2 | Android 8 (API 26) |\n| [android.intent.action.PICK](/reference/android/content/Intent#ACTION_PICK) | none | vnd.android.cursor.dir/postal-address_v2 | Android 8 (API 26) |\n| [android.intent.action.OPEN_DOCUMENT](/reference/android/content/Intent#ACTION_OPEN_DOCUMENT) | [CATEGORY_OPENABLE](/reference/android/content/Intent#CATEGORY_OPENABLE) | \\*/\\* | Android 8 (API 26) |\n| [android.intent.action.OPEN_DOCUMENT](/reference/android/content/Intent#ACTION_OPEN_DOCUMENT) | none | \\*/\\* | Android 8 (API 26) |\n| [android.intent.action.GET_CONTENT](/reference/android/content/Intent#ACTION_GET_CONTENT) | [CATEGORY_OPENABLE](/reference/android/content/Intent#CATEGORY_OPENABLE) | \\*/\\* | Android 8 (API 26) |\n| [android.intent.action.GET_CONTENT](/reference/android/content/Intent#ACTION_GET_CONTENT) | none | \\*/\\* | Android 8 (API 26) |\n| [android.intent.action.OPEN_DOCUMENT_TREE](/reference/android/content/Intent#ACTION_OPEN_DOCUMENT_TREE) | none | none | Android 8 (API 26) |\n| [android.intent.action.CREATE_DOCUMENT](/reference/android/content/Intent#ACTION_CREATE_DOCUMENT) | [CATEGORY_OPENABLE](/reference/android/content/Intent#CATEGORY_OPENABLE) | text/plain | Android 8 (API 26) |\n| [android.intent.action.CREATE_DOCUMENT](/reference/android/content/Intent#ACTION_CREATE_DOCUMENT) | none | text/plain | Android 8 (API 26) |\n| [android.media.action.IMAGE_CAPTURE](/reference/android/provider/MediaStore#ACTION_IMAGE_CAPTURE)^1^ | none | none | Android 8 (API 26) |\n| [android.media.action.VIDEO_CAPTURE](/reference/android/provider/MediaStore#ACTION_VIDEO_CAPTURE) ^1^ | none | none | Android 8 (API 26) |\n\n1. Available only on devices that support [FEATURE_CAMERA](/reference/android/content/pm/PackageManager#FEATURE_CAMERA) or [FEATURE_CAMERA_ANY](/reference/android/content/pm/PackageManager#FEATURE_CAMERA_ANY)"]]