© Peter Späth 2018
Peter SpäthPro Android with Kotlinhttps://doi.org/10.1007/978-1-4842-3820-2_2

2. Application

Peter Späth1 
(1)
Leipzig, Germany
 
An Android app consists of components such as activities, services, broadcast receivers, and content providers, as shown in Figure 2-1. Activities are for interacting with device users, services are for program parts that run without a dedicated user interface, broadcast receivers listen for standardized messages from other apps and components, and content providers allow other apps and components to access a certain amount and kind of data provided by a component.
../images/463716_1_En_2_Chapter/463716_1_En_2_Fig1_HTML.png
Figure 2-1

An app in the Android OS

Components ...

Get Pro Android with Kotlin: Developing Modern Mobile Apps 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.