symphony icon indicating copy to clipboard operation
symphony copied to clipboard

[Feature Request] Android Auto support

Open gbakeman opened this issue 1 year ago • 8 comments

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!

gbakeman avatar Feb 26 '23 01:02 gbakeman

Related article: https://developer.android.com/training/cars/media/auto.

zyrouge avatar May 28 '23 16:05 zyrouge

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.

danielloera avatar Aug 12 '23 19:08 danielloera

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.

zyrouge avatar Aug 13 '23 03:08 zyrouge

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.

CubeOfCheese avatar Feb 12 '24 16:02 CubeOfCheese

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.

zyrouge avatar Feb 12 '24 16:02 zyrouge

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.

dephunk avatar Jun 05 '24 03:06 dephunk

Android auto support is available to fdroid apps, but developer mode or third party software must be enabled in the android auto settings.

MaezrFulldive avatar Jul 11 '24 04:07 MaezrFulldive

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.

dephunk avatar Jul 22 '24 10:07 dephunk