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.


Responding to URLs

You may have noticed that Android supports a market: URL scheme. Web pages can use such URLs so that, if they are viewed on an Android device’s browser, the user can be transported to a Play Store page, perhaps for a specific app or a list of apps for a publisher.

Fortunately, that mechanism is not limited to Android’s code — you can get control for various other types of links as well. You do this by adding certain entries to an activity’s <intent-filter> for an ACTION_VIEW Intent.

However, be forewarned that this capability is browser-specific. What works on the original Android “Browser” app and Google’s Chrome may not necessarily work on Firefox for Android or other browsers.

Prerequisites

Understanding this chapter requires that you have read the chapter on Intent filters.

Manifest Modifications

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

Creating a Custom URL

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

Reacting to the Link

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

The preview of this section is being chased by zombies.