Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)

BasicMediaRouter

This sample demonstrates how to use the MediaRouter API to display content on a secondary display.

To see this in action, run the sample and use the Media Route Action Item in the action bar to select an output device. If your device supports Miracast wireless displays, you may need to enable Wireless Display functionality in the system settings.

You can also enable secondary screen simulation from the Developer options in the system Settings. Once connected, use the Change Color button to change the background color of the secondary screen.