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