Files
android_development/samples/browseable/MediaBrowserService/_index.jd
Trevor Johns 48b7225a27 Sync sample prebuilts
Synced to lmp-mr1-ub-docs commit 9b3abfde74ffa708734d2b8a09e1de0a0c82451c.

Change-Id: Ibae1c4729c9b8b4c0de2faebb998459a8da524e1
2015-05-20 22:04:28 -07:00

19 lines
671 B
Plaintext

page.tags="MediaBrowserService"
sample.group=Media
@jd:body
<p>
This sample shows how to implement an audio media app that provides
media library metadata and playback controls through a standard
service. It exposes a simple music library through the new
MediaBrowserService and provides MediaSession callbacks. This allows
it to be used in Android Auto, for example.
When not connected to a car, the app has a very simple UI that browses
the media library and provides simple playback controls. When
connected to Android Auto, the same service provides data and callback
to the Android Auto UI in the same manner as it provides them to the
local UI.
</p>