otter icon indicating copy to clipboard operation
otter copied to clipboard

Android Auto support

Open Skehmatics opened this issue 6 years ago • 2 comments

Would love to see Android Auto (and by extension, Android Automotive OS) support!

https://developer.android.com/training/cars/media

Skehmatics avatar Nov 06 '19 21:11 Skehmatics

This won't be added to the roadmap short-term. I would like to provide a good enough experience on phones at first before considering other platforms.

I will not close the issue because this is not a no-go, but I have never actually tried Android Auto, and i might be complex for me to implement.

apognu avatar Nov 15 '19 10:11 apognu

I did some discovery on this over a weekend, and its seems ExoPlayer already does a good chunk of the work itself by handling a MediaSession for us. I did a quick implementation of that, which got very basic and only a little buggy support going. I'd still need to tackle the onGetRoot() and onLoadChildren() implementations so that AA can explore the library, but overall its not looking too bad!

From what I've got done so far, Android Auto seems less of a new platform and more of an API that we can provide support for, while Android Automotive OS is definitely a new platform. I'll try and at least get Android Auto support in, as it doesn't seem like support for it would detract from iteration on the regular phone side of things so long as we use ExoPlayer for playback.

Skehmatics avatar Jun 18 '20 16:06 Skehmatics