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 will not appear here for a while, due to a time machine mishap.

A Tale of Two MediaRouters

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

Attaching to MediaRouter

The preview of this section is out seeking fame and fortune as the Dread Pirate Roberts.

User Route Selection with MediaRouteActionProvider

The preview of this section is presently indisposed.

Using Live Video Routes

The preview of this section took that left turn at Albuquerque.

Using Remote Playback Routes

The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.