r/androiddev • • 11d 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

7 comments sorted by

1

u/FirefighterNo5078 6d ago edited 6d ago

This is a great idea. I tried it on Ooen Head Unit and it seems to always take the largest square where maps would go (screen shot attached). When I try it connected to my car, the app is not there as an icon. I made sure I went into AAuto customization make sure the icon was enabled, but it's not there.

I have an OG pixel flip running the latest version of Android. I connect to my car via wireless AAuto via a carlinkit adapter. I am running the latest paid version of open head unit.

Edit: I also had enabled music controls but I don't see the controls rendered. Edit2: Forgot to say thanks. This solves an annoyance I've had with AAuto. I've considered one of those little solar clocks for my car,. I don't know why they don't provide a way to enlarge the clock. I would think it a safety issue because people will let their eyes linger on the display while they squint to read the time. Sometimes I will go back to the car's home screen just to see a big clock.

1

u/FilipNone 6d ago edited 5d ago

So, right now the apk that I ship on github is actually two apps in one, and I discovered that Android Auto from manufatures cars block this by making work or one or another, but that's because it's not certified from Google Play store (of course...), for that reason I decided that I will split the apps from the next release, that way you should be able to have both even if it means having two apps on the phone instead of one.
P.S. my pleasure, I was bothered by that tiny clock very much as well as you can see.

Edit: I updated the app, so now it should be fixed, check it out.

1

u/FirefighterNo5078 5d ago

It now shows on open Head Unit as a small window but the controls are crowded. It still does not show as an app when I connect to my car.

1

u/FilipNone 5d ago

can you please open an issue on github where you share photos of it? it will help me track better the issues and work on a possible fix

1

u/[deleted] 11d ago

[removed] — view removed comment

1

u/FilipNone 11d ago

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

1

u/androiddev-ModTeam 11d 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.