1 2page.tags="MediaBrowserService" 3sample.group=Media 4@jd:body 5 6<p> 7 8This sample shows how to implement an audio media app that provides 9media library metadata and playback controls through a standard 10service. It exposes a simple music library through the new 11MediaBrowserService and provides MediaSession callbacks. This allows 12it to be used in Android Auto, for example. 13When not connected to a car, the app has a very simple UI that browses 14the media library and provides simple playback controls. When 15connected to Android Auto, the same service provides data and callback 16to the Android Auto UI in the same manner as it provides them to the 17local UI. 18</p> 19