symphony
symphony copied to clipboard
[Feature Request] Android Auto support
I'd love to see an Android Auto UI with support for playing, pausing and skipping, as well as resuming where I left off.
Thanks for making this!
Related article: https://developer.android.com/training/cars/media/auto.
Hey @zyrouge I looked into the requirements for this and I got a bit confused on this part:
https://developer.android.com/training/cars/media#onGetRoot
Namely, the part where we have to provide the browser root
i.e. MediaBrowserServiceCompat.BrowserRoot(MY_MEDIA_ROOT_ID, null)
I would assume that we could gather this info from Symphony.kt, but from my understanding there isn't an easy way to share ViewModel data with a service. Am I missing something here? Apologies in advance if this is a dumb question, its been a while since I worked on Android things.
Hey @zyrouge I looked into the requirements for this and I got a bit confused on this part: https://developer.android.com/training/cars/media#onGetRoot Namely, the part where we have to provide the browser root i.e.
MediaBrowserServiceCompat.BrowserRoot(MY_MEDIA_ROOT_ID, null)
I would assume that we could gather this info from Symphony.kt, but from my understanding there isn't an easy way to share ViewModel data with a service. Am I missing something here? Apologies in advance if this is a dumb question, its been a while since I worked on Android things.
True, ViewModel cannot be easily shared. It seems like it requires only MEDIA_ROOT_ID
, so try getting it. I'm not sure how services actually work, so I couldn't help much. If you are working on this, open a draft PR and I'll try to help you out there.
Since Symphony is only available on F-Droid, Android auto support isn't really possible.
https://github.com/ev-map/EVMap/issues/319#issuecomment-1880029130
Basically Android Auto only permits apps installed through Google play unfortunately. Too bad Android Auto isn't open source.
Oh, I wasn't aware of it. Maybe we'll implement something like car mode where the controls are larger. Nonetheless, this needs to be discussed more.
Since symphony is now on the Play store are you looking into Android auto? It's the only feature keeping me from using it as my daily. Otherwise love the app.
Android auto support is available to fdroid apps, but developer mode or third party software must be enabled in the android auto settings.
Android auto support is available to fdroid apps, but developer mode or third party software must be enabled in the android auto settings.
Android auto is not working with either the Play store or f droid app, even with dev mode + 3rd party software enabled.