Skillpedia
تطبيقات الجوال10k · #11909

android-for-cars-parked-apps

ما الذي تفعله

تعدّل هذه المهارة تطبيق فيديو أو لعبة أو متصفح ويب موجودًا في Android، ليعمل كتطبيق متوقف داخل السيارات. وهي موجهة لمطوري Android الذين يريدون أن يستوفي تطبيقهم إرشادات الجودة في متجر Google Play الخاصة بالسيارات.

متى تستخدمها

  • ✓عندما يكون لديك تطبيق بث فيديو في Android، وتريد أن يعمل على شاشة السيارة وهي متوقفة.
  • ✓عندما تريد نشر لعبة أو متصفح ويب على Android Auto أو Android Automotive.
  • ✓عندما تحتاج إلى ضبط إدخالات manifest ومعالجة تشتيت انتباه السائق في نسخة السيارة من تطبيقك.

رابط المهارة

https://github.com/android/skills/blob/main/cars/android-for-cars-parked-apps/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/android/skills/blob/main/cars/android-for-cars-parked-apps/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيّف تطبيق الفيديو لدي على Android ليعمل كتطبيق متوقف على Android Auto.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تمرّ هذه المهارة على التغييرات التي يحتاجها التطبيق الموجود، مثل إعدادات manifest وتصريحات الأجهزة والتعامل مع زر الرجوع ودورة حياة التطبيق. الهدف هو استيفاء قواعد جودة تطبيقات السيارات.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Adapt existing Android video apps, games, and web browsers to run as parked apps on Android Auto and Android Automotive OS. Follow these steps to meet the car app quality guidelines for Google Play distribution.

Prerequisites

  • Begin with an existing adaptive Android app in one of the supported parked app categories: video streaming apps, games, or web browsers.

Glossary

  • Parked apps: Parked apps run on Android Auto and Android Automotive OS only while the vehicle is parked. The three parked categories are video, games, and browsers; other categories can't be published as parked apps.
  • Android Auto: Android Auto is a phone-powered projection system. Apps execute on the user's phone and are projected to the in-car display over a wired or wireless connection. Android Auto is a separate platform from Android Automotive OS.
  • Android Automotive OS: Android Automotive OS, or AAOS, is a variant of Android that runs directly on the vehicle itself. Android Automotive OS is a separate platform from Android Auto.
  • Video category: Video apps display streaming videos while parked. Generally available on Android Automotive OS; unsupported on Android Auto.
  • Games category: Game apps provide gameplay while parked. Generally available on Android Automotive OS and Android Auto.
  • Browsers category: Web browsers let users browse the web while parked. Available in beta on Android Automotive OS; unsupported on Android Auto.
  • Media category: Not a parked category. Media apps play audio content (music, radio, audiobooks, excluding video) while driving or parked.
  • Android for Cars platform: Android for Cars is an umbrella term that consists of Android Auto and Android Automotive OS.
  • Generally available categories: Permitted on internal testing, closed testing, open testing, and production Google Play tracks for a supported platform.
  • Beta categories: Permitted on internal or closed testing tracks; open testing and production tracks require acceptance into an early access program.
  • Audio while driving: A beta feature on Android Automotive OS that lets video apps play audio while the vehicle is in motion.
  • Car app quality guidelines : When auditing an app against the Tier 3 (Car ready ), Tier 2 (Car optimized ), or Tier 1 (Car differentiated ) criteria, MUST check car app quality guidelines.
  • Android Automotive OS compatibility mode : Compatibility mode (android.software.car.display_compatibility) is a system feature on select vehicles providing a system back affordance, safe area rendering, density scaling, and opaque driving-mode blocking (moving activities to Stopped). Compatibility mode is only relevant to apps that support Android Automotive OS; it isn't relevant for apps that only support Android Auto.

Codebase exploration

Search the codebase for AndroidManifest.xml (or create Assets/Plugins/Android/AndroidManifest.xml in Unity projects), res/xml/automotive_app_desc.xml, build.gradle, build.gradle.kts, or gradle/libs.versions.toml files. Locate existing video players, MediaSession classes, requestedOrientation calls, and WindowInsets handlers. Unless instructed otherwise by the user, ask permission before adding dependencies.

Step 1: Configure the app manifest

Declare the app category, target platforms, hardware feature requirements, and activity configuration in AndroidManifest.xml.

1.1: Identify the app category

  • Video apps : Video apps MUST set android:appCategory="video" on <application> and MUST NOT include app/src/main/res/xml/automotive_app_desc.xml with uses name="video".
  • Games : Games MUST set android:appCategory="game" on <application>. Declare android.hardware.gamepad with android:required="false" if controller input is supported by the app.
  • Browsers : Browsers MUST include <category android:name="android.intent.category.APP_BROWSER"/> in the MAIN <intent-filter> of an exported <activity> (android:exported="true").

1.2: Identify target platforms and hardware features

  • Android Auto : Apps targeting Android Auto (Android 15+) MUST add <category android:name="android.intent.category.CAR_LAUNCHER"/> to an <intent-filter> in the AndroidManifest.xml file. Add it to the MAIN <intent-filter> unless the user specifies a different intent filter. NEVER add
الأسئلة الشائعة

ما أنواع التطبيقات التي يمكن أن تكون تطبيقات متوقفة؟

يمكن نشر تطبيقات بث الفيديو والألعاب ومتصفحات الويب فقط كتطبيقات متوقفة.

هل تعمل مع أي تطبيق سيارة؟

لا. إنها للتطبيقات في فئات الفيديو والألعاب والمتصفحات، وتبدأ من تطبيق Android متكيّف موجود.

هل Android Auto هو نفسه Android Automotive؟

لا. يعمل Android Auto من الهاتف، بينما يعمل Android Automotive مباشرة على النظام الخاص بالسيارة.

التفاصيل

الوصف الأصلي من المؤلف

Adapt existing Android video streaming apps, games, and web browsers to run as parked apps on Android Auto and Android Automotive OS. Covers manifest configuration, Google Play hardware feature declarations, compatibility mode, back navigation affordances, orientation and display continuity, controllable system bar insets, irregular display cutouts, driver distraction lifecycle handling, MediaSession playback restrictions with CarUxRestrictionsManager, background audio while driving, and browser sensitive data protection. Use this skill when migrating, building, or auditing parked apps for car

repo: android/skills

الشعبية

نجوم GitHub
10k
الترتيب
#11909
الترخيص
Apache-2.0
آخر تحديث
29‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة