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