1 Android BasicMediaRouter Sample 2 ============================== 3 4 This sample demonstrates the use of the MediaRouter API to display 5 content on a secondary display. 6 Use the "Media Route Action Item" in the ActionBar 7 to select an output device. If your device supports Miracast wireless displays, 8 you may need to enable "Wireless Display" functionality in the system settings. 9 Secondary screen simulation can also be enabled from the "Developer Options". 10 11 Once connected, use the "Change Color" button to change the background color of the secondary screen. 12 13 Pre-requisites 14 -------------- 15 16 - Android SDK v20 17 - Android Build Tools v20 18 - Android Support Repository 19 20 Getting Started 21 --------------- 22 23 This sample uses the Gradle build system. To build this project, use the 24 "gradlew build" command or use "Import Project" in Android Studio. 25 26 Support 27 ------- 28 29 - Google+ Community: https://plus.google.com/communities/105153134372062985968 30 - Stack Overflow: http://stackoverflow.com/questions/tagged/android 31 32 If you've found an error in this sample, please file an issue: 33 https://github.com/googlesamples/android-BasicMediaRouter 34 35 Patches are encouraged, and may be submitted by forking this project and 36 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 37 38 License 39 ------- 40 41 Copyright 2014 The Android Open Source Project, Inc. 42 43 Licensed to the Apache Software Foundation (ASF) under one or more contributor 44 license agreements. See the NOTICE file distributed with this work for 45 additional information regarding copyright ownership. The ASF licenses this 46 file to you under the Apache License, Version 2.0 (the "License"); you may not 47 use this file except in compliance with the License. You may obtain a copy of 48 the License at 49 50 http://www.apache.org/licenses/LICENSE-2.0 51 52 Unless required by applicable law or agreed to in writing, software 53 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 54 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 55 License for the specific language governing permissions and limitations under 56 the License. 57