1 2 3 4 page.tags="BasicMediaRouter" 5 sample.group=Media 6 @jd:body 7 8 <p>This sample demonstrates how to use the {@link android.media.MediaRouter} 9 API to display content on a secondary display.</p> 10 <p>To see this in action, run the sample and use the 11 <strong>Media Route Action Item</strong> in the action bar to select an 12 output device. If your device supports Miracast wireless displays, you may 13 need to enable <strong>Wireless Display</strong> functionality in the 14 system settings.</p> 15 <p>You can also enable secondary screen simulation from the 16 <em>Developer options</em> in the system Settings. Once 17 connected, use the <strong>Change Color</strong> button to change the 18 background color of the secondary screen.</p> 19