إنشاء تطبيقات Play الفورية باستخدام ARCore
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يتوافق تطبيق ARCore مع
تطبيقات Play الفورية،
وهي ميزة في نظام التشغيل Android تتيح تشغيل التطبيقات والألعاب على أجهزة تعمل بنظام التشغيل Android 5.0 (المستوى 21 من واجهة برمجة التطبيقات) أو الإصدارات الأحدث بدون الحاجة إلى تثبيتها أولاً. فمن خلال تقديم تجربة فورية، يمكنك تحسين إمكانية اكتشاف تطبيقك أو لعبتك، ما يساعد في جذب المزيد من المستخدمين النشطين وتوفير تجارب أقل تعقيدًا.
الاختلافات مقارنة بالتطبيقات التقليدية
عند تثبيت تطبيق "تطبيقات Google Play الفورية" المتوافق مع الواقع المعزّز، لن يضمن Google Play تلقائيًا تثبيت خدمات Google Play للواقع المعزّز وتحديثها، بغض النظر عمّا إذا كان تطبيقك "الواقع المعزّز" أو "الواقع المعزّز" اختياري.
بدلاً من ذلك، يجب أن يستخدم تطبيقك ArCoreApk.checkAvailability()
وArCoreApk.requestInstall()
للتأكّد من تثبيت "خدمات Google Play للواقع المعزّز".
هناك قيود على حجم التطبيقات الفورية. قد يتم احتساب حزمة ARCore SDK ضمن ما يقارب 300 كيلوبايت من الحد الأقصى المسموح به لحجم تطبيقات Play الفورية، وهو 15 ميغابايت. للحصول على مزيد من المعلومات، يمكنك الاطّلاع على تقليل حجم تطبيقك الفوري.
الخطوات التالية
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eARCore supports Play Instant Apps, allowing Android apps and games to launch without installation on devices with Android 5.0 (API level 21) or higher.\u003c/p\u003e\n"],["\u003cp\u003eUnlike regular apps, AR-enabled Play Instant apps require manual checks and installation prompts for Google Play Services for AR using \u003ccode\u003eArCoreApk.checkAvailability()\u003c/code\u003e and \u003ccode\u003eArCoreApk.requestInstall()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe ARCore SDK contributes to the Play Instant App size limit, potentially using around 300kB of the 15MB allowance.\u003c/p\u003e\n"]]],["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"],null,["# Creating Play Instant apps using ARCore\n\nARCore is compatible with\n[Play Instant Apps](https://developer.android.com/topic/google-play-instant/overview),\nan Android feature that enables apps and games to launch on devices running\nAndroid 5.0 (API level 21) or higher without having to first be installed. By\nproviding an instant experience, you can improve your app or game's discovery,\nwhich helps drive more active users and create lower friction experiences.\n\nDifferences compared to conventional apps\n-----------------------------------------\n\n- When an AR-enabled Play Instant app is installed, Google Play will **not**\n automatically ensure that\n [Google Play Services for AR](https://play.google.com/store/apps/details?id=com.google.ar.core)\n is installed and up to date, no matter if your app is AR Required or AR\n Optional.\n\n Instead, your app should use\n [`ArCoreApk.checkAvailability()`](/ar/reference/java/com/google/ar/core/ArCoreApk#checkAvailability(android.content.Context))\n and\n\n [`ArCoreApk.requestInstall()`](/ar/reference/java/com/google/ar/core/ArCoreApk#requestInstall(android.app.Activity,%20boolean))\n to check that Google Play Services for AR is\n installed.\n- Instant Apps have size constraints. The ARCore SDK may count towards\n approximately 300kB of the 15MB Play Instant App size limit. For more\n information, see\n [Reduce the size of your instant app](https://developer.android.com/topic/google-play-instant/guides/reduce-module-size).\n\nNext steps\n----------\n\n- Follow the Android Developer's guide on how to [create an instant-enabled app bundle](https://developer.android.com/topic/google-play-instant/getting-started/instant-enabled-app-bundle)."]]