Android Auto - live coding
summary
Live coding shows a small Android Auto media app that plays local MP3s and streams using the Android Auto SDK and Android Studio template, built in roughly 20 minutes. It uses the Android Auto emulator, implements MediaSession and MediaBrowserService, fills MediaMetadata via MediaMetadataRetriever, exposes playable/browsable flags, supports skip next/previous and sets playback state, and accepts voice queries via onPlayFromSearch. The demo has minor hiccups but the app installs and functions and the full code is on GitHub.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 0:43Android Auto Template
- 1:24Media
- 2:00Session
- 2:57Route
- 4:25Metadata
- 5:41Media Items
- 6:56Media Station
- 7:56Playback
- 9:56Playback status
- 11:00browsable folder
- 15:38transport controls
related talks
38mDeveloping Apps for Android Auto.
19mAndroid Auto: Your Media in the Car
13mAndroid on the Road: Playing Music with UAMP in Cars
34mBuild apps for Android Auto and Android Automotive OS
51mDeep Dive into Android Auto — From How to Use It to the Technologies Behind It
32mAndroid Auto: Rolling Droid gather no moss (en)
12mBuilding and Shipping Android Automotive Apps
13mAn introduction of Android Auto
