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

8. APIs

Peter Späth1 
(1)
Leipzig, Germany
 
The subject of this chapter is to introduce APIs, which are the cornerstones of your app. The APIs include the following:
  • Databases

  • Scheduling

  • Loaders

  • Notifications

  • Alarm Manager

  • Contacts

  • Search Framework

  • Location and Maps

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 find exhaustive information about SQLite in the ...

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.