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