
- #Android studio keycastr how to#
- #Android studio keycastr android#
- #Android studio keycastr code#
- #Android studio keycastr tv#
Pull down notifications and you should now see a notification for the Cast session. Click on the play button in the mini controller to continue playing the video again.Ĭlick on the mobile device home button. You can use the play/pause button to control the playback.Ī mini controller is now visible at the bottom of the screen.Ĭlick on the pause button in the mini controller to pause the video on the receiver. The expanded controller will be displayed. The video will start playing on your Google Cast device. Select a video and click on the play button. You should see the video app named Cast Videos appear after a few seconds.Ĭlick the Cast button in the video app and select your Google Cast device.
#Android studio keycastr android#
Plug in your Android device and click the Run button in Android Studio. Return to the previous screen, go to System > Advanced and tap on Developer options near the bottom, then tap on USB debugging to turn it on. To make it visible, go to Settings > About phone and tap Build number seven times.
#Android studio keycastr code#
Select the app-done directory from the sample code folder and click OK.Ĭlick File > Sync Project with Gradle Files.Įnable USB debugging on your Android device – on Android 4.2 and higher, the Developer options screen is hidden by default.

Select the Import Project on the welcome screen or the File > New > Import Project.
#Android studio keycastr how to#
With the code downloaded, the following instructions describe how to open and run the completed sample app in Android Studio: The user can select a video from a list and can then play the video locally on the device or Cast it to a Google Cast device.
#Android studio keycastr tv#

How to support media notifications and lock screen controls.How to add a Cast mini controller to your app.How to connect to a Cast device and launch a media receiver.How to add the Cast button for selecting a Google Cast device.

How to add the Google Cast SDK to a sample video app.When you have completed this codelab, you will have an Android video app that will be able to cast videos to a Google Cast-enabled device. The Google Cast Design Checklist is provided to make the Cast user experience simple and predictable across all supported platforms. The Cast SDK allows you to add the necessary UI components based on the Google Cast Design Checklist. The Google Cast SDK lets you extend your app to control a TV or sound system.

Users can then use their mobile device as a remote control for media playback on the TV. Google Cast allows users to cast content from a mobile device to a TV. This codelab will teach you how to modify an existing Android video app to cast content on a Google Cast-enabled device.
