Change-Id: I21e3dfacb4bc1acfbe3b17c5f8001ee758f9eec2
(cherry picked from commit 3943cdc962)
19 lines
712 B
Plaintext
19 lines
712 B
Plaintext
|
|
|
|
|
|
page.tags="BasicMediaRouter"
|
|
sample.group=Media
|
|
@jd:body
|
|
|
|
<p>This sample demonstrates how to use the {@link android.media.MediaRouter}
|
|
API to display content on a secondary display.</p>
|
|
<p>To see this in action, run the sample and use the
|
|
<strong>Media Route Action Item</strong> in the action bar to select an
|
|
output device. If your device supports Miracast wireless displays, you may
|
|
need to enable <strong>Wireless Display</strong> functionality in the
|
|
system settings.</p>
|
|
<p>You can also enable secondary screen simulation from the
|
|
<em>Developer options</em> in the system Settings. Once
|
|
connected, use the <strong>Change Color</strong> button to change the
|
|
background color of the secondary screen.</p>
|