blob: fcf6ec973f5da1c06728790d676d9ce28a95a76a [file] [log] [blame]
page.title=MediaRouter Sample
This sample demonstrates the use of the MediaRouter API to show content on a
secondary display using a {@link Presentation}.
The activity uses the
<a href="">MediaRouter</a> API
to automatically detect when a
presentation display is available and to allow the user to control the media routes using a menu
item provided by the
<a href="">
When a presentation display is available a
<a href="">Presentation</a>
is shown on the preferred display. A button toggles the background color of the secondary screen
to show the interaction between the primary and secondary screens.
This sample requires an HDMI or Wifi display. Alternatively, the
"Simulate secondary displays" feature in Development Settings can be enabled
to simulate secondary displays.