Hide

Sample Apps

Here are some sample applications that you can use to get started with developing your own Google Cast application.

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.
CastVideos-ios Design Checklist compliant iOS sender to Cast videos.
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.
Cast-Player-Sample 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.

Other sample apps

Here are some additional sample apps that demonstrate the Google Cast SDK. Also, the Android SDK includes 2 samples apps under Google Play services in extras.

Name Description Android iOS Chrome Receiver MPL
CastCompanionLibrary-android Android library project for adding Cast features to existing apps.
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.
hello-cast-video-ios Basic iOS sender application to cast a Video.
CastMedia-chrome Chrome sender to Cast various media.
CastHelloVideo-chrome Basic Chrome sender application to cast a Video.
cast-sender-tool-sample Basic Chrome sender for videos.
CastMediaPlayerStreamingDRM Chrome sender to play adaptive and DRM video streams.
Cast-Simple-Receiver Basic custom receiver.
cast-custom-receiver-sample Custom receiver to play media.
cast-chrome-tictactoe Chrome sender for TicTacToe game.
TicTacToe Receiver Receiver for TicTacToe game.
CastVideoLooping-receiver Receiver to loop a single video using MSE.
Cast-Media-Player-Library-Sample Receiver on how to use the 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.
Closed Captioning Controlling closed captioning with a custom namespace channel.
CastVideosPlaylist-chrome How to cast a video playlist using a custom namespace channel.
MediaRouter Android sender shows different ways to use the Media Router to display the Cast button.
cast-support-media-server Basic web server with CORS configured to host media files.