O'Reilly logo

Android Essentials by Chris Haseman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required