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