Book Image

Kotlin Programming By Example

By : Iyanu Adelekan
Book Image

Kotlin Programming By Example

By: Iyanu Adelekan

Overview of this book

Kotlin greatly reduces the verbosity of source code. With Google having announced their support for Kotlin as a first-class language for writing Android apps, now's the time learn how to create apps from scratch with Kotlin Kotlin Programming By Example takes you through the building blocks of Kotlin, such as functions and classes. You’ll explore various features of Kotlin by building three applications of varying complexity. For a quick start to Android development, we look at building a classic game, Tetris, and elaborate on object-oriented programming in Kotlin. Our next application will be a messenger app, a level up in terms of complexity. Before moving onto the third app, we take a look at data persistent methods, helping us learn about the storage and retrieval of useful applications. Our final app is a place reviewer: a web application that will make use of the Google Maps API and Place Picker. By the end of this book, you will have gained experience of of creating and deploying Android applications using Kotlin.
Table of Contents (12 chapters)

Summary

In this chapter, we dived headfirst into the various mediums of data storage that the Android application framework puts at our disposal. We took a look at how we can use internal storage and external storage to store data in private and public files. In addition, we learned how to work with cache files with the help of both internal and external storage.

Further into the chapter, we learned about the SQLite RDBMS and explored how we can make use of it in our Android applications. We learned how to utilize Room to retrieve and store data in a SQLite database and then went a step further by exploring how to use content providers to control access to data with a SQLite database as an underlying datastore.

In the next chapter, we will conclude our Android application framework exploration by learning how to secure and deploy an Android application.

...