xref: /aosp_15_r20/development/samples/browseable/BasicMediaRouter/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="BasicMediaRouter"
3*90c8c64dSAndroid Build Coastguard Workersample.group=Media
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            This sample demonstrates the use of the MediaRouter API to display
9*90c8c64dSAndroid Build Coastguard Worker content on a secondary display.\n\nUse the "Media Route Action Item" in the ActionBar
10*90c8c64dSAndroid Build Coastguard Worker to select an output device. If your device supports Miracast wireless displays,
11*90c8c64dSAndroid Build Coastguard Worker you may need to enable "Wireless Display" functionality in the system settings.
12*90c8c64dSAndroid Build Coastguard Worker Secondary screen simulation can also be enabled from the "Developer Options".\n\n
13*90c8c64dSAndroid Build Coastguard WorkerOnce connected, use the "Change Color" button to change the background color of the secondary screen.
14*90c8c64dSAndroid Build Coastguard Worker
15*90c8c64dSAndroid Build Coastguard Worker        </p>
16