Sample Apps

Sample applications are examples of working code that you can browse, run, and learn from to get started developing your own Google Cast application.

Tutorials are sample apps with step-by-step instructions that take you through the process of enabling an existing Android or iOS video app to use a Google Cast device to cast content to a TV.

Reference apps

The reference apps listed here are those that comply with the Google Cast Design Checklist and follow Google Cast development best practices. Use these apps as a starting point when developing your app for Google Cast.

Name Description Android iOS Chrome Receiver MPL
CastVideos-android Design Checklist compliant Android sender to Cast videos. A tutorial is also available.
CastVideos-ios Design Checklist compliant iOS sender to Cast videos. A tutorial is also available.
CastVideos-chrome Design Checklist compliant Chrome sender to Cast videos.
CastVideos-chrome-material Design Checklist compliant Chrome sender to Cast videos with "á la carte" Polymer elements.
CastReferencePlayer Design Checklist compliant receiver.

Game apps

The sample game apps demonstrate how to use the Game Manager API. See Game Manager API Samples for Google Cast for more information.

Name Description Android iOS Chrome Receiver
SpellCast Team up with up to 3 friends and draw arcane symbols on your device to cast spells and defeat monsters! For Android and iOS, this sample follows the Cast Games UX Guidelines (PDF), for such scenarios as setting up a multiplayer lobby. The Chrome version is a minimal implementation with no actual UI.
SpriteDemo A "hello world" application. The simplest sample using the Game Manager APIs; lets devices add sprites on the TV.
StarCast A simple multiplayer shoot-em-up. The Android and iOS versions can control a spaceship. The Chrome version can control up to 4 spaceships using the keyboard.
GameDebugger A basic application to run while using the game debugging UI. See GameDebugger sample app for more information.

Remote Display apps

Name Description Android iOS Chrome Receiver MPL
CastRemoteDisplay-Android Android sender on how to use the Remote Display API for Android with Google Cast devices.
CastRemoteDisplay-iOS iOS sender on how to use the Remote Display API for iOS with Google Cast devices.

Remote Display app for Unity Game Engine

Remote Display Sample for Unity Game Engine - A Unity sample game hosted on GitHub that uses the Remote Display Unity plugin and fully complies with the Cast Games guidelines.

Text apps

Name Description Android iOS Chrome Receiver MPL
HelloText-Android Android sender application to send and receive text messages.
HelloText-ios iOS sender application to send and receive text messages.
HelloText-Chrome Chrome sender application to send and receive text messages.

Video apps

Name Description Android iOS Chrome Receiver MPL
CastHelloVideo-chrome Basic Chrome sender application to cast a Video.
CastHelloVideoPlayer Basic custom receiver.
CastVideoLooping-receiver Receiver to loop a single video using MSE.

Audio apps

Name Description Android iOS Chrome Receiver MPL
Android-UniversalMusicPlayer Audio app that shows best practices for building media apps and works across Android devices including Auto and Wear, as well as Cast devices.