The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Google Cast and Chromecast

A popular target for MediaRouter, in some countries, is Chromecast, Google’s lightweight streaming media player for televisions and other HDMI displays. Originally, Chromecast was a “closed box”, with no official support for third-party apps (and active work to block unofficial support). In early 2014, though, Google finally opened up Chromecast to developers.

This chapter covers what it takes to enable an Android app to “cast” content to a Chromecast, possibly as part of a broader external display strategy.

Prerequisites

In addition to the core chapters, you should read the chapter on MediaRouter before reading this chapter.

Here a Cast, There a Cast

The preview of this section is in an invisible, microscopic font.

Common Chromecast Development Notes

The preview of this section was lost due to a rupture in the space-time continuum.

Your API Choices

The preview of this section did not survive Thanos's finger snap.

Senders and Receivers

The preview of this section apparently resembled a Pokémon.

Supported Media Types

The preview of this section apparently resembled a Pokémon.

Cast SDK Dependencies

The preview of this section is being chased by zombies.

Developing Google Cast Apps

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.