android-for-cars-parked-apps
できること
このスキルは、既存のAndroidの動画、ゲーム、ウェブブラウザのアプリを調整し、車内で駐車中のアプリとして動かせるようにします。Google Playの車向けの品質ガイドラインを満たしたいAndroid開発者向けです。
使う場面
- ✓Androidの動画ストリーミングアプリを、駐車中の車のディスプレイで動かしたいとき。
- ✓ゲームやウェブブラウザを、Android AutoやAndroid Automotive向けに公開したいとき。
- ✓車向けのアプリのために、マニフェストの設定と運転中の注意散漫への対策を用意する必要があるとき。
スキルのリンク
https://github.com/android/skills/blob/main/cars/android-for-cars-parked-apps/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Androidの動画アプリを、Android Autoで駐車中のアプリとして動くように適合させてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、既存のアプリに必要な変更を順に扱います。たとえば、マニフェストの設定、ハードウェアの宣言、戻る操作、ライフサイクルの扱いです。目標は、車向けの品質ルールを満たすことです。
技術的な内容(元の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 includeapp/src/main/res/xml/automotive_app_desc.xmlwithuses name="video". - Games : Games MUST set
android:appCategory="game"on<application>. Declareandroid.hardware.gamepadwithandroid:required="false"if controller input is supported by the app. - Browsers : Browsers MUST include
<category android:name="android.intent.category.APP_BROWSER"/>in theMAIN<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 theAndroidManifest.xmlfile. Add it to theMAIN<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
- 更新日
- 2026/10/29
コメント
- …
このリポジトリの他のスキル
agp-9-upgrade
10kエージェントが、AndroidアプリをAndroid Gradle Plugin 9にアップグレードし、その破壊的変更に対応できるよう支援します。マルチプラットフォームのプロジェクトは対象外です。
camerax
10kエージェントが、CameraXを使ってAndroidのカメラ機能を作れるよう支援します。動画の録画、ハードウェアの制御、ML Kit、Media3のエフェクトを含みます。
appfunctions
10kエージェントが、Androidアプリの主要な作業の流れを見つけ、AIエージェントや音声コマンドが実行できるAppFunctionsとして公開できるよう支援します。
litert-lm
10kエージェントが、LiteRT-LMのKotlin APIを使って、端末上でオープンなテキストAIモデルを動かすAndroidアプリを作れるよう支援します。
似ているスキル
android-clean-architecture
280kエージェントがAndroidプロジェクトを効率よく整理できるようにします。コードを構造化して、保守や新機能の開発をしやすくします。
compose-multiplatform-patterns
280kエージェントがKMPプロジェクトでCompose MultiplatformとJetpack Composeのパターンを使えるようにします。状態管理、ナビゲーション、テーマ設定、パフォーマンスを扱います。
dart-flutter-patterns
280kエージェントがDartとFlutterのアプリ向けのコードを書けるようにします。最新のパターンを使い、堅牢で管理しやすいアプリを作ります。