...

/

Working with Android WebViews

Working with Android WebViews

Get introduced to the basic usage of a web view in Android and learn how to use the different customizations it offers.

Introduction

In this lesson, we’ll learn how to display web content within our app. The Android SDK comes bundled with the WebView class, which allows us to display web pages in the activity layout. By default, the WebView class simply shows a web page and doesn’t include features such as navigation controls, address bars, and so on. We can customize the experience by building on top of the base class. We’ll first see an example of how to embed a web page inside our app, and then we’ll see how to parse HTML content and display it in a WebView. We’ll also go over some of the common customizations offered by the WebView ...