使用 ARCore 建立 Play 免安裝應用程式
ARCore 與 Play 免安裝應用程式相容,這項 Android 功能可讓您在搭載 Android 5.0 (API 級別 21) 以上版本的裝置上啟動應用程式和遊戲,不必先安裝。只要提供免安裝體驗,即可提升應用程式或遊戲的曝光度,協助吸引更多活躍使用者,並降低阻礙。
與傳統應用程式的差異
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-08 (世界標準時間)。
[null,null,["上次更新時間:2023-12-08 (世界標準時間)。"],[[["ARCore supports Play Instant Apps, allowing Android apps and games to launch without installation on devices with Android 5.0 (API level 21) or higher."],["Unlike regular apps, AR-enabled Play Instant apps require manual checks and installation prompts for Google Play Services for AR using `ArCoreApk.checkAvailability()` and `ArCoreApk.requestInstall()`."],["The ARCore SDK contributes to the Play Instant App size limit, potentially using around 300kB of the 15MB allowance."]]],["ARCore works with Play Instant Apps, allowing apps to run on Android 5.0+ without installation. Unlike standard apps, Play Instant apps do not automatically ensure \"Google Play Services for AR\" is installed. Developers must use `ArCoreApk.checkAvailability()` and `ArCoreApk.requestInstall()` to manage this. Instant Apps have size restrictions, with the ARCore SDK potentially consuming around 300kB of the 15MB limit. Creating instant-enabled app bundles requires following the Android Developer's guide.\n"]]