本文へスキップ
Skillpedia
モバイルアプリ10k · #11909

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/android/skills/blob/main/cars/android-for-cars-parked-apps/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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 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
更新日
2026/10/29

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル