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.


Advanced Uses of WebView

Android uses the WebKit browser engine as the foundation for both its Browser application and the WebView embeddable browsing widget. The Browser application, of course, is something Android users can interact with directly; the WebView widget is something you can integrate into your own applications for places where an HTML interface might be useful.

Earlier in this book, we saw a simple integration of a WebView into an Android activity, with the activity dictating what the browsing widget displayed and how it responded to links.

Here, we will expand on this theme, and show how to more tightly integrate the Java environment of an Android application with the JavaScript environment of WebKit.

Prerequisites

Understanding this chapter requires that you have read the core chapters, particularly the one covering WebView. Some of the samples use LocationManager for obtaining a GPS fix.

Friends with Benefits

The preview of this section was last seen in the Bermuda Triangle.

Navigating the Waters

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

Settings, Preferences, and Options (Oh, My!)

The preview of this section is sleeping in.

Security and Your WebView

The preview of this section left for Hollywood to appear in a reality TV show.

Android 8.0 WebView Changes

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

Chrome Custom Tabs

The preview of this section was last seen in the Bermuda Triangle.