This Google Cast demo application shows how to send messages from an Android device to a receiver using a custom namespace.
Java HTML
Switch branches/tags
Nothing to show
Clone or download
jdkoren Migrate to cast v3
Change-Id: I385f51a70c94185385a0eeddf2269badf4ee043f
Latest commit 6e44709 Sep 21, 2016

README.md

HelloText-Android

This Google Cast demo application shows how to send messages from an Android device to a receiver using a custom namespace.

Dependencies

  • The Android SDK android-support-v7-appcompat and android-support-v7-mediarouter support libraries (at least revision 19).
  • The Android SDK google-play-services_lib library (at least version 4.2)

Setup Instructions

  • Just check out the code from GitHub and run the app on your mobile device
  • If you don't want to use the sample App ID, you need to do the following steps
  • Get a Chromecast device and get it set up for development: https://developers.google.com/cast/docs/developers#Get_started
  • Register an application on the Developers Console (http://cast.google.com/publish). Select the Custom Receiver option and specify the URL to where you are hosting the receiver/receiver.html file (You can use Google Drive to host your files: https://support.google.com/drive/answer/2881970?hl=en). You will get an App ID when you finish registering your application.
  • Setup the project dependencies
  • Insert your App ID in the strings.xml in the res directory of the project (look for app_id in that file)
  • Compile and deploy to your Android device.

References and How to report bugs

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE

Terms

Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the Google Cast SDK Additional Developer Terms of Service.

Google+

Google Cast Developers Community on Google+ http://goo.gl/TPLDxj