MyPodCast contains two major parts:
- MusicService: This implements Android.Service.Media.MediaBrowserService, which provides media content such as mp3 podcast sources, cover images, and podcast information to Android Auto. MusicService also controls Android Auto's media player functions, such as play, pause, play next, play previous, and add a podcast as favorite. MusicService typically runs as a background service, does not need a UI, and will intercept requests coming from Android Auto to provide podcast sources and also help control the media player.
The following screenshot shows the Android Auto media player, which interfaces with your MusicService:
Android Auto interfacing with MusicService