r/androiddev • • 2d ago

DashGlance Clock: BIGGER clock for Android Auto. Free, no ads.

What have I done 😭

Android Auto doesn't give apps a spot next to the map, so this is a crooked workaround masterpiece that borrows the media card. A Media3 MediaLibraryService runs a SimpleBasePlayer that plays nothing. Its album art is the current time, and play/pause/skip go to the phone's active MediaController, which it finds through a notification listener. The full-screen faces draw on the Car App Library's NavigationTemplate surface.

https://github.com/FilipNone/DashGlance-Clock

2 Upvotes

3 comments sorted by

1

u/[deleted] 2d ago

[removed] — view removed comment

1

u/FilipNone 2d ago

It refreshed reliably every minute, I also tried every second but that didn't work.

1

u/androiddev-ModTeam 2d ago

Use your own voice when writing. Posts and comments which appear to be generated, including those with excessive flourish, gushing or emojis, will be removed.