Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Android Auto support #45

Open
gbakeman opened this issue Feb 26, 2023 · 6 comments
Open

[Feature Request] Android Auto support #45

gbakeman opened this issue Feb 26, 2023 · 6 comments
Labels
state: blocked Currently blocked type: enhancement New feature or request

Comments

@gbakeman
Copy link

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!

@zyrouge zyrouge added type: enhancement New feature or request priority: medium Medium priority labels Feb 26, 2023
@zyrouge
Copy link
Owner

zyrouge commented May 28, 2023

@zyrouge zyrouge added the reason: please pr Expecting contribution from potential contributors label Aug 1, 2023
@danielloera
Copy link
Contributor

danielloera commented Aug 12, 2023

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.

@zyrouge
Copy link
Owner

zyrouge commented Aug 13, 2023

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 zyrouge added this to the Backlog milestone Dec 30, 2023
@CubeOfCheese
Copy link

Since Symphony is only available on F-Droid, Android auto support isn't really possible.

ev-map/EVMap#319 (comment)

Basically Android Auto only permits apps installed through Google play unfortunately. Too bad Android Auto isn't open source.

@zyrouge
Copy link
Owner

zyrouge commented Feb 12, 2024

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 zyrouge added state: blocked Currently blocked and removed priority: medium Medium priority reason: please pr Expecting contribution from potential contributors labels Feb 12, 2024
@zyrouge zyrouge removed this from the Backlog milestone Feb 12, 2024
@dephunk
Copy link

dephunk commented Jun 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: blocked Currently blocked type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants