How to Build Android Apps with Kotlin - Second Edition: A practical guide to developing, testing, and publishing your first Android apps

Forrester, Alex, Boudjnah, Eran, Dumbravan, Alexandru

  • 出版商: Packt Publishing
  • 出版日期: 2023-05-02
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 704
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837634939
  • ISBN-13: 9781837634934
  • 相關分類: AndroidJVM 語言
  • 立即出貨 (庫存=1)



Unleash the power of Android programming to build scalable and reliable apps using industry best practices

Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Build apps with Kotlin, Google's preferred programming language for Android development
  • Unlock solutions to development challenges with guidance from experienced Android professionals
  • Improve your apps by adding valuable features that make use of advanced functionality

Book Description

Looking to kick-start your app development journey with Android 13, but don't know where to start? How to Build Android Apps with Kotlin is a comprehensive guide that will help jump-start your Android development practice.

This book starts with the fundamentals of app development, enabling you to utilize Android Studio and Kotlin to get started with building Android projects. You'll learn how to create apps and run them on virtual devices through guided exercises. Progressing through the chapters, you'll delve into Android's RecyclerView to make the most of lists, images, and maps, and see how to fetch data from a web service.

You'll also get to grips with testing, learning how to keep your architecture clean, understanding how to persist data, and gaining basic knowledge of the dependency injection pattern. Finally, you'll see how to publish your apps on the Google Play store.

You'll work on realistic projects that are split up into bitesize exercises and activities, allowing you to challenge yourself in an enjoyable and attainable way. You'll build apps to create quizzes, read news articles, check weather reports, store recipes, retrieve movie information, and remind you where you parked your car.

By the end of this book, you'll have the skills and confidence to build your own creative Android applications using Kotlin.

What you will learn

  • Create maintainable and scalable apps using Kotlin
  • Understand the Android app development lifecycle
  • Simplify app development with Google architecture components
  • Use standard libraries for dependency injection and data parsing
  • Apply the repository pattern to retrieve data from outside sources
  • Build user interfaces using Jetpack Compose
  • Explore Android asynchronous programming with Coroutines and the Flow API
  • Publish your app on the Google Play store

Who this book is for

If you want to build Android applications using Kotlin but are unsure of how and where to begin, then this book is for you. To easily grasp the concepts in this book, a basic understanding of Kotlin, or experience in a similar programming language is a must.


發揮 Android 編程的力量,使用行業最佳實踐來構建可擴展和可靠的應用程序

購買印刷版或 Kindle 版本的書籍將包含免費的 PDF 電子書


- 使用 Kotlin 構建應用程序,這是 Google 在 Android 開發中首選的編程語言
- 在有經驗的 Android 專業人士的指導下解決開發挑戰
- 通過添加利用高級功能的有價值功能來改進您的應用程序


想要以 Android 13 開始您的應用程序開發之旅,但不知道從何開始?《使用 Kotlin 構建 Android 應用程序》是一本全面的指南,將幫助您快速啟動 Android 開發實踐。

本書從應用程序開發的基礎知識開始,讓您能夠利用 Android Studio 和 Kotlin 開始構建 Android 項目。通過引導式練習,您將學習如何創建應用程序並在虛擬設備上運行它們。隨著章節的進展,您將深入研究 Android 的 RecyclerView,以充分利用列表、圖像和地圖,並了解如何從 Web 服務中獲取數據。

您還將掌握測試的方法,學習如何保持架構的清晰,了解如何持久化數據,並獲得關於依賴注入模式的基本知識。最後,您將了解如何在 Google Play 商店上發布應用程序。


通過閱讀本書,您將具備使用 Kotlin 構建自己創意 Android 應用程序的技能和信心。


- 使用 Kotlin 創建可維護和可擴展的應用程序
- 了解 Android 應用程序開發生命周期
- 使用 Google 架構組件簡化應用程序開發
- 使用標準庫進行依賴注入和數據解析
- 應用存儲庫模式從外部源檢索數據
- 使用 Jetpack Compose 構建用戶界面
- 使用 Coroutines 和 Flow API 探索 Android 的異步編程
- 在 Google Play 商店上發布您的應用程序

本書適合對使用 Kotlin 構建 Android 應用程序感興趣,但不確定如何開始的讀者。為了更容易理解本書中的概念,基本了解 Kotlin 或類似編程語言的經驗是必需的。


1. Creating Your First App
2. Building User Screen Flows
3. Developing the UI with Fragments
4. Building App Navigation
5. Essential Libraries: Retrofit, Moshi, and Glide
6. Adding and Interacting with RecyclerView
7. Android Permissions and Google Maps
8. Services, WorkManager, and Notifications
9. Building User Interfaces Using Jetpack Compose
10. Unit Tests and Integration Tests with JUnit, Mockito, and Espresso
11. Android Architecture Components
12. Persisting Data
13. Dependency Injection with Dagger, Hilt, and Koin
14. Coroutines and Flow
15. Architecture Patterns
16. Animations and Transitions with CoordinatorLayout and MotionLayout
17. Launching Your App on Google Play


1. 建立您的第一個應用程式
2. 建立使用者畫面流程
3. 使用 Fragments 開發使用者介面
4. 建立應用程式導航
5. 必要的庫:Retrofit、Moshi 和 Glide
6. 添加並與 RecyclerView 互動
7. Android 權限和 Google 地圖
8. 服務、WorkManager 和通知
9. 使用 Jetpack Compose 建立使用者介面
10. 使用 JUnit、Mockito 和 Espresso 進行單元測試和整合測試
11. Android 架構元件
12. 持久化資料
13. 使用 Dagger、Hilt 和 Koin 進行依賴注入
14. 協程和 Flow
15. 架構模式
16. 使用 CoordinatorLayout 和 MotionLayout 進行動畫和轉場效果
17. 在 Google Play 上發佈您的應用程式