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.


Media Routes

Android can send audio and video to a variety of places, such as:

There is a common API for determining which of these “places” are available and allowing the user to choose which of these “places” should be used for a given bit of media. This common API centers around a MediaRouter, which is the focus of this chapter.

Prerequisites

Understanding this chapter requires that you have read the core chapters of the book. In addition, you should read the chapters on advanced action bar techniques and the appcompat-v7 action bar backport.

Terminology

The preview of this section was lost in the sofa cushions.

A Tale of Two MediaRouters

The preview of this section was abducted by space aliens.

Attaching to MediaRouter

The preview of this section is [REDACTED].

User Route Selection with MediaRouteActionProvider

The preview of this section was traded for a bag of magic beans.

Using Live Video Routes

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

Using Remote Playback Routes

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