What problem does it solve?
It helps you build Android Auto (phone projection) and Android Automotive OS (native AAOS) apps using the Car App Library, ensuring your UI and navigation work within the template and safety constraints of in-vehicle experiences.
Core Features & Use Cases
- Template-based UI for car screens: Implement
ListTemplate, NavigationTemplate, PlaceListMapTemplate, MessageTemplate, and related templates instead of drawing arbitrary views.
- Session and screen lifecycle handling: Use
CarAppService → Session → Screen correctly, navigate via screenManager.push/pop, and update data using invalidate() (no blocking work on the main thread).
- Driving-safe interaction (Distraction Optimization): Design for limits like reduced list size while moving, constrained text/input, capped action strips, and controlled back-stack depth.
- Navigation and voice interaction: Handle navigation categories with turn-by-turn UI, and respond to voice-triggered intents such as navigation requests.
Quick Start
Use the android-auto skill to implement a car app that shows a template-based home list and navigates to a NavigationTemplate screen while respecting driving distraction rules.