Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
How to Build Android Applications with Kotlin

You're reading from   How to Build Android Applications with Kotlin A hands-on guide to developing, testing, and publishing production-grade Android 16 apps

Arrow left icon
Product type Paperback
Published in Sep 2025
Publisher Packt
ISBN-13 9781835882764
Length 654 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Authors (4):
Arrow left icon
Alex Forrester Alex Forrester
Author Profile Icon Alex Forrester
Alex Forrester
Eran Boudjnah Eran Boudjnah
Author Profile Icon Eran Boudjnah
Eran Boudjnah
Alexandru Dumbravan Alexandru Dumbravan
Author Profile Icon Alexandru Dumbravan
Alexandru Dumbravan
 Tigcal Tigcal
Author Profile Icon Tigcal
Tigcal
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Android Foundation
2. Creating Your First App FREE CHAPTER 3. Building User Screen Flows 4. Developing the UI with Jetpack Compose 5. Building App Navigation 6. App Components
7. Essential Libraries – Ktor, Kotlin Serialization, and Coil 8. Building Lists with Jetpack Compose 9. Android Permissions and Google Maps 10. Services, WorkManager, and Notifications 11. Code Structure
12. Testing with JUnit, Mockito, MockK, and Compose 13. Coroutines and Flow 14. Android Architecture Components 15. Persisting Data 16. Dependency Injection with Dagger, Hilt, and Koin 17. Polishing and Publishing an App
18. Architecture Patterns 19. Advanced Jetpack Compose 20. Launching Your App on Google Play 21. Unlock Your Book’s Exclusive Benefits 22. Other Books You May Enjoy 23. Index

To get the most out of this book

Software/hardware covered in the book

Operating system requirements

Android Studio Meerkat or later versions

Windows, macOS, or Linux

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

Download the example code files

The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/How-to-Build-Android-Applications-with-Kotlin-Third-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781835882764.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “Execute the terraform graph command:”

A block of code is set as follows:

var counter = 0
val mainView = findViewById<ConstraintLayout>(R.id.main)
val counterValue = mainView.findViewById<TextView>(
    R.id.counter_value
)
val plusButton = mainView.findViewById<Button>(
    R.id.plus
)
val minusButton = mainView.findViewById<Button>(
    R.id.minus
)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

@Composable
fun Employee(employee: EmployeeUiModel) {
    Row {
        if (employee.imageUrl.isEmpty()) {
            Spacer(modifier = Modifier.size(64.dp)
        } else {
            LoadedImage(
                imageUrl = employee.imageUrl,
                modifier = Modifier.size(64.dp)
            )
        }
        Column {
            Text(text = employee.name)
            Text(text = employee.role.label)
        }
    }
}

Note: Although dependencies in the respective libs.versions.toml files may appear in two lines in the chapters, they should be added as one lines in your code.

Any command-line input or output is written as follows:

set KEYSTORE_PASSWORD=securepassword

Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: “You will see a window with side tabs and Projects highlighted. Select the New Project option on the right-hand side.”

Warnings or important notes appear like this.

Tips and tricks appear like this.

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
How to Build Android Applications with Kotlin
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon