© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
P. SpäthPro Android with Kotlinhttps://doi.org/10.1007/978-1-4842-8745-3_2

2. Application

Peter Späth1  
(1)
Leipzig, Germany
 
An Android app consists of components like activities, services, broadcast receivers, and content providers. See 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.

The flow diagram of android OS with an app into APIs and android runtime.

Figure ...

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