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

8. APIs

Peter Späth1  
(1)
Leipzig, Germany
 
The subject of this chapter is APIs that are the cornerstones of your app. This includes
  • Databases

  • Scheduling

  • Notifications

  • Contacts

  • Search framework

  • Location and maps

  • Preferences

Databases

Android provides two realms for dealing with databases: either you use the SQLite library included in the Android OS, or you use the Room architecture component . The latter is recommended, since it adds an abstraction layer between the database and the client, simplifying the mapping between Kotlin objects and database storage objects . You can ...

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.