A Video Player
for My Car
I wanted one small thing: to watch a video on the car's screen while parked and waiting. The apps advertised for it are paid and installed from outside Google Play, so I tried building my own. The code took an afternoon. Getting it onto the dashboard took two weeks, four phones and a detour through the Play Console.
The Idea
My car runs BMW's iDrive 8 and supports Android Auto. Android Auto deliberately has no video apps, because a screen in front of the driver should not play video while the car moves. Google is rolling out official video for parked cars, but it needs a recent phone and support from the car maker, and neither had reached me yet.
So the goal was narrow: a personal app that lists the video files stored on the phone and plays one on the car display, only while the car is standing still. Above walking speed the picture is replaced by a notice and only the sound continues. That rule was in the first version, not added later.
The App Itself
The app is written in Kotlin and is small: a handful of files built on two Google libraries, the Car App Library for everything Android Auto shows, and Media3 for playback. On the phone it has a single screen that asks for permission to read videos. In the car it has a list of files and four buttons: list, previous, play or pause, next.
I am not an Android developer. I described what I wanted to an AI assistant, it wrote the project, and I built it in Android Studio. It compiled on the first try, which told me nothing, because nothing had run in a car yet.
Four Phones Later
I assumed any Android device from a drawer would do for testing. Each one taught me a requirement I had not known about:
Installed Is Not the Same as Visible
With a working phone, the app was installed and running, and it still did not appear on the car screen. Android Auto only shows apps it trusts, and trust means the app came from Google Play.
There is a developer setting for apps from unknown sources. On this phone it changed nothing. The other shortcut I tried changed nothing either. Play's internal app sharing, meant for passing a build to a colleague, refused the upload because the app did not exist on Play yet.
What worked was the documented route for testing a car app in a real vehicle: an internal testing track in the Play Console. The app is uploaded as a signed bundle, released to a list of testers that contains exactly one account, mine, and installed from the Play Store like any other app. Nobody else can see or install it. Ten minutes later it was on the dashboard.
Small Things That Cost a Build Each
Where It Stands
It works. A cartoon from the public-domain shelves of the Internet Archive played on the car display in a parking garage, with sound through the car speakers. Android Auto keeps its own side panel next to the video on a wide screen, so the picture does not fill the display yet. That is the next thing to look at, along with testing the speed cut-off properly, from the passenger seat, with someone else driving.
The pattern is the same one I keep running into with side projects: the program was the small part. The work was in everything around it, which phone, which radio band, which install path a platform is willing to trust. None of that was in the code, and all of it decided whether the code could run.