Android Auto

Stretch goal for Phase 3. A dice roller module for Android Auto, allowing rolls while driving (passenger use) or as a fun demo of the platform.

Architecture

Android Auto apps use a completely separate architecture from Hotwire Native:

  • Built against androidx.car.app library
  • Restricted templated UI system (no WebViews, no custom layouts)
  • Designed for driver safety — limited screen templates

This would be a separate Kotlin module in the Android project, not something that shares code with the Hotwire Native side.

What’s Feasible

A dice roller is one of the simpler Android Auto use cases — a screen with buttons and a result display. Not navigation or media (the two main categories).

The Rails app serves as source of truth for dice configurations and favorites. Android Auto talks to it via API when connected, or works standalone with local defaults.

Learning Value

The primary motivation is learning — it exercises pure Kotlin development and the Car App Library, which is a different skillset from Hotwire Native.

See also: Hotwire Native, Architecture, Roadmap