Chapter 3

Android Application Architecture

In this chapter, we introduce the reader to Android Application Architecture. We present various components that make up an Android application, and we demonstrate how these components work when an application is running, through the use of logcat. We then cover the application lifecycle phases of an Android application. By end of the chapter, the reader will be able to describe the typical components of an Android application, determine when to use these components, and understand application lifecycle phases.

3.1 Application Components

A typical Android application is usually rich in functionality—for example, the built-in clock application. This application has the following basic functions: displaying ...

Get Android Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.