▶Book Description
Kotlin is a programming language intended to be a better Java, and it's designed to be usable and readable across large teams with different levels of knowledge. As a language, it helps developers build amazing Android applications in an easy and effective way.
This book begins by giving you a strong grasp of Kotlin’s features in the context of Android development and its APIs. Moving on, you’ll take steps toward building stunning applications for Android. The book will show you how to set up the environment, and the difficulty level will grow steadily with the applications covered in the upcoming chapters.
Later on, the book will introduce you to the Android Studio IDE, which plays an integral role in Android development. We’ll use Kotlin’s basic programming concepts such as functions, lambdas, properties, object-oriented code, safety aspects, type parameterization, testing, and concurrency, which will guide you through writing Kotlin code into production. We’ll also show you how to integrate Kotlin into any existing Android project.
▶What You Will Learn
⦁ Understand the basics of Android development with Kotlin
⦁ Get to know the key concepts in Android development
⦁ See how to create modern mobile applications for the Android platform
⦁ Adjust your application’s look and feel
⦁ Know how to persist and share application database
⦁ Work with Services and other concurrency mechanisms
⦁ Write effective tests
⦁ Migrate an existing Java-based project to Kotlin
▶Key Features
⦁ Leverage specific features of Kotlin to ease Android application development
⦁ An illustrative guide that will help you write code based Kotlin language to build robust Android applications
⦁ Filled with various practical examples build amazing Android project using Kotlin so you can easily apply your knowledge to real world scenarios
▶Who This Book Is For
The book is aimed at developers who want to build amazing Android applications in an easy and effective way. Basic knowledge of Kotlin is assumed, having no familiarity with Android development.
▶What this book covers
⦁ Chapter 1, Starting with Android, teaches you how to start Android development with Kotlin and how to set up your working environment.
⦁ Chapter 2, Building and Running, shows you how to build and run your project. It will demonstrate how to log and debug the application.
⦁ Chapter 3, Screens, starts with the UI. In this chapter, we will create the first screens for our application.
⦁ Chapter 4, Connecting Screen Flow, explains how to connect the screen flow and define basic user interaction with the UI.
⦁ Chapter 5, Look and Feel, covers the theming of the UI. We will introduce you to the basic concepts of theming in Android.
⦁ Chapter 6, Permissions, explains that in order to take advantage of certain system functionalities, it's necessary to get proper system permissions, which are discussed in this chapter.
⦁ Chapter 7, Working with Databases, shows you how to use SQLite as storage for your application. You will create a database to store and share data.
⦁ Chapter 8, Android Preferences, states that not all data should be stored in the database; some information can be stored in shared preferences. We will explain why and how.
⦁ Chapter 9, Concurrency in Android, explains that if you are familiar with concurrency in programming, then you will know that, in software, many things happen simultaneously. Android is not an exception!
⦁ Chapter 10, Android Services, presents Android services and how to use them.
⦁ Chapter 11, Messaging, says that in Android, your application can listen for various events. How to do this will be answered in this chapter.
⦁ Chapter 12, Backend and API, connects to the remote backend instance to obtain the data.
⦁ Chapter 13, Tuning Up for High Performance, is the perfect chapter to give you answers when you are not sure if your application is fast enough.
⦁ Chapter 14, Testing, mentions that before we release anything, we must test it. Here, we will explain how to write tests for your application.
⦁ Chapter 15, Migration to Kotlin, guides you if you plan to migrate the existing Java code base into Kotlin.
⦁ Chapter 16, Deploying Your Application, guides you through the deployment process. We will release everything we develop during this book.