We'll start this chapter by looking at telephony functionality with How to make a phone call. After exploring how to make a call, we'll look at how to monitor a phone call with monitoring phone call events. We'll move on to SMS messaging in the How to send SMS messages section, and then we'll cover receiving SMS messages in the Receiving SMS messages section.
We'll then explore WebView for adding browser functionality to your app. At its basic level, WebView is a basic HTML viewer. We'll show how you can extend a WebViewClient class and modify the settings through WebSettings to create full browser functionality, including JavaScript and Zoom features.
The last recipe of this chapter will explore a new API (added in Android 7.0 Nougat) for blocking phone numbers at the OS level.