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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.