ARCore का इस्तेमाल करके Play Instant Apps बनाना
ARCore,
Play Instant Apps
के साथ काम करता है. यह Android की एक सुविधा है. इसकी मदद से, Android 5.0 (एपीआई लेवल 21) या उसके बाद के वर्शन वाले डिवाइसों पर ऐप्लिकेशन और गेम लॉन्च हो सकते हैं.
इसके लिए, उन्हें पहले इंस्टॉल करने की ज़रूरत नहीं होती. ऐप्लिकेशन या गेम को तुरंत खोजने की सुविधा देकर, ऐप्लिकेशन या गेम को आसानी से खोजा जा सकता है. इससे, ज़्यादा सक्रिय उपयोगकर्ताओं को लाने और ऐप्लिकेशन पर कम रुकावटें पैदा करने में मदद मिलती है.
कंवेंशनल ऐप्लिकेशन की तुलना में अंतर
जब एआर की सुविधा वाला Play इंस्टैंट ऐप्लिकेशन इंस्टॉल किया जाता है, तो Google Play अपने-आप यह पक्का नहीं
करेगा कि
Google Play Services for AR
इंस्टॉल और अप-टू-डेट है. इस बात से कोई फ़र्क़ नहीं पड़ता कि आपके ऐप्लिकेशन को एआर (ऑगमेंटेड रिएलिटी) की ज़रूरत है या एआर (ऑगमेंटेड रिएलिटी) की
ज़रूरी नहीं
ज़रूरी नहीं है.
इसके बजाय, आपके ऐप्लिकेशन को
ArCoreApk.checkAvailability()
और
ArCoreApk.requestInstall()
का इस्तेमाल करना चाहिए, ताकि यह देखा जा सके कि Google Play Services for AR इंस्टॉल है या नहीं.
झटपट ऐप्लिकेशन में आकार की सीमाएं होती हैं. ARCore SDK टूल को, 15 एमबी Play इंस्टैंट ऐप्लिकेशन के साइज़ की
सीमा में से करीब 300 केबी में गिना जा सकता है. ज़्यादा जानकारी के लिए, अपने इंस्टैंट ऐप्लिकेशन का साइज़ कम करना देखें.
अगले चरण
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-08 (UTC) को अपडेट किया गया."],[[["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"]]