دليل البدء السريع حول EIS على Android
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
- إعداد بيئة التطوير للتثبيت الإلكتروني للصور
- يمكنك تجربة معاينة الكاميرا الثابتة في تطبيق تجريبي.
فتح نموذج المشروع
يستخدم هذا الدليل السريع OpenGL، وهي
واجهة برمجة لعرض الرسومات الموجّهة ثنائية وثلاثية الأبعاد. راجِع تفعيل ARCore قبل البدء في تنفيذ الخطوات التالية.
احصل على نموذج المشروع من خلال استنساخ المستودع باستخدام الأمر التالي:
git clone https://github.com/google-ar/arcore-android-sdk.git
في "استوديو Android"، افتح نموذج المشروع hello_eis_kotlin، والذي يقع في الدليل الفرعي samples
ضمن الدليل arcore-android-sdk
.
تشغيل العيّنة
يتيح لك تطبيق HelloEIS التجريبي تفعيل ميزة تثبيت الصورة لمعاينة الكاميرا على الأجهزة المتوافقة.
تأكَّد من أنّ جهاز Android متصل بجهاز الكمبيوتر المخصّص للتطوير وانقر على رمز
Run
في Android Studio.
قد يطلب منك جهازك تثبيت
خدمات Google Play للواقع المعزّز
أو تحديثها إذا لم تكن متوفّرة أو كانت قديمة. انقر على CONTINUE لتثبيته من
متجر Google Play.
تبديل EIS
انقر على رمز الترس واختَر Electronic Image Stabilization (EIS) لتفعيل ميزة "التثبيت الإلكتروني للصورة" أو إيقافها.
اختَر Enable EIS لتفعيل ميزة "التثبيت الإلكتروني للصورة".
![]()
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis guide provides steps to set up your development environment for Electronic Image Stabilization (EIS) using a sample project that leverages OpenGL for rendering.\u003c/p\u003e\n"],["\u003cp\u003eYou can experience the stabilized camera preview by running the provided HelloEIS sample app on a supported Android device with ARCore enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe sample app allows you to toggle EIS on or off through a settings menu, letting you compare the stabilized and unstabilized camera feeds.\u003c/p\u003e\n"]]],[],null,["# EIS quickstart for Android\n\n- Set up your development environment for Electronic Image Stabilization.\n- Experience the stabilized camera preview in a sample app.\n\nOpen the sample project\n-----------------------\n\nThis quickstart uses [OpenGL](https://en.wikipedia.org/wiki/OpenGL), a\nprogramming interface for rendering 2D and 3D vector graphics. Review\n[Enable ARCore](/ar/develop/java/enable-arcore) before getting started with the\nfollowing steps.\n\nGet the sample project by cloning the repository with the following command: \n\n```\ngit clone https://github.com/google-ar/arcore-android-sdk.git\n```\n\nIn Android Studio, open the **hello_eis_kotlin** sample project, located in the `samples` subdirectory within the `arcore-android-sdk` directory.\n\nRun the sample\n--------------\n\nThe HelloEIS sample app lets you toggle the image stabilization for camera preview on supported devices.\n\nMake sure your Android device is connected to the development machine and click\n**Run** in Android Studio.\n\nYour device may prompt you to install or update\n[Google Play Services for AR](https://play.google.com/store/apps/details?id=com.google.ar.core)\nif it is missing or out of date. Tap **CONTINUE** to install it from the\nGoogle Play Store.\n\nToggle EIS\n----------\n\nTap the gear icon and select **Electronic Image Stabilization (EIS)** to toggle EIS on/off.\nSelect **Enable EIS** to enable EIS."]]