Chapter 2: The Application

An application in Android is defined by the contents of its manifest. Each Android application declares all its activities, entry points, communication layers, permissions, and intents through AndroidManifest.xml. Four basic building blocks, when combined, comprise a rich Android application:

  • Activity: The most basic building block of an Android application
  • Intent receiver: A reactive object launched to handle a specific task
  • Service: A background process with no user interface
  • Content provider: A basic superclass framework for handling and storing data

In this chapter, I'll break down each specific piece with a concrete functional example. First up is the activity, the core building block of a stand-alone Android ...

Get Android Essentials now with O’Reilly online learning.

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