© 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_3

3. Activities

Peter Späth1  
(1)
Leipzig, Germany
 

Activities represent user interface entry points of your app. Any app you need to interact functionally with the user in a direct way, by letting the user enter things or telling the user graphically about the functional state of an app, will expose at least one activity to the system. We say functionally because telling the user in a notifying way about events can also happen by notifications via Toasts or the status bar, for which an activity is not needed.

Apps can have zero, one, or more activities, and they get started in one of ...

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.