Mastering Kotlin for Android 14: Build powerful Android apps from scratch using Jetpack libraries and Jetpack Compose

Wangereka, Harun

  • 出版商: Packt Publishing
  • 出版日期: 2024-04-05
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 370
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837631719
  • ISBN-13: 9781837631711
  • 相關分類: AndroidJVM 語言Scratch
  • 海外代購書籍(需單獨結帳)

商品描述

Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust apps

Key Features

  • Apply best practices and industry-essential skills used by Google Developer Experts
  • Find out how to publish, monitor, and improve your app metrics on the Google Play Store
  • Learn how to debug issues, detect leaks, inspect network calls, and inspect your app's local database
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Written with the best practices, this book will help you master Kotlin and use its powerful language features, libraries, tools, and APIs to elevate your Android apps.

As you progress, you'll use Jetpack Compose and Material Design 3 to build UIs for your app, explore how to architect and improve your app architecture, and use Jetpack Libraries like Room and DataStore to persist your data locally. Using a step-by-step approach, this book will teach you how to debug issues in your app, detect leaks, inspect network calls fired by your app, and inspect your Room database. You'll also add tests to your apps to detect and address code smells.

Toward the end, you'll learn how to publish apps to the Google Play Store and see how to automate the process of deploying consecutive releases using GitHub actions, as well as learn how to distribute test builds to Firebase App Distribution. Additionally, the book covers tips on how to increase user engagement.

By the end of this Kotlin book, you'll be able to develop market-ready apps, add tests to their codebase, address issues, and get them in front of the right audience.

What you will learn

  • Build beautiful, responsive, and accessible UIs with Jetpack Compose
  • Explore various app architectures and find out how you can improve them
  • Perform code analysis and add unit and instrumentation tests to your apps
  • Publish, monitor, and improve your apps in the Google Play Store
  • Perform long-running operations with WorkManager and persist data in your app
  • Use CI/CD with GitHub Actions and distribute test builds with Firebase App Distribution
  • Find out how to add linting and static checks on CI/CD pipelines

Who this book is for

If you're an aspiring Android developer or an Android developer working with Java, then this book is for you. Basic Java programming skills are a must if you want to fully utilize the techniques and best practices showcased in this book.

商品描述(中文翻譯)

加快您的Android開發之旅,掌握最新的Kotlin技巧和庫,以構建強大的應用程序。

主要特點:

- 應用Google開發者專家使用的最佳實踐和行業必備技能
- 了解如何在Google Play商店上發布、監控和改進應用程序指標
- 學習如何調試問題、檢測內存泄漏、檢查網絡調用和檢查應用程序的本地數據庫
- 購買印刷版或Kindle電子書,即可獲得免費的PDF電子書

書籍描述:

本書以最佳實踐為基礎,幫助您掌握Kotlin並使用其強大的語言特性、庫、工具和API來提升Android應用程序。

隨著您的進展,您將使用Jetpack Compose和Material Design 3為應用程序構建用戶界面,探索如何設計和改進應用程序架構,並使用Jetpack庫(如Room和DataStore)在本地持久化數據。通過逐步的方法,本書將教您如何調試應用程序中的問題,檢測內存泄漏,檢查應用程序發出的網絡調用,以及檢查Room數據庫。您還將為應用程序添加測試以檢測和解決代碼問題。

在接近尾聲時,您將學習如何將應用程序發布到Google Play商店,並了解如何使用GitHub Actions自動部署連續版本,以及如何使用Firebase App Distribution分發測試版本。此外,本書還介紹了如何提高用戶參與度的技巧。

通過閱讀本書,您將能夠開發市場就緒的應用程序,為其代碼庫添加測試,解決問題並將其展示給適當的受眾。

您將學到什麼:

- 使用Jetpack Compose構建美觀、響應式和可訪問的用戶界面
- 探索各種應用程序架構,並找出如何改進它們
- 進行代碼分析,為應用程序添加單元測試和儀器測試
- 在Google Play商店上發布、監控和改進應用程序
- 使用WorkManager執行長時間操作,並在應用程序中持久化數據
- 使用GitHub Actions進行CI/CD,並使用Firebase App Distribution分發測試版本
- 了解如何在CI/CD流程中添加linting和靜態檢查

本書適合對Android開發有興趣或正在使用Java進行Android開發的開發人員。如果您想充分利用本書展示的技巧和最佳實踐,則需要具備基本的Java編程技能。

目錄大綱

  1. Get Started with Kotlin Android Development
  2. Creating Your First Android App
  3. Jetpack Compose Layout Basics
  4. Design with Material Design 3
  5. Architect Your app
  6. Network Calls with Kotlin Coroutines
  7. Navigating within Your App
  8. Persisting Data Locally and Doing Background Work
  9. Runtime Permissions
  10. Debugging Your App
  11. Enhancing Code Quality
  12. Testing Your App
  13. Publishing Your App
  14. Continuous Integration and Continuous Deployment
  15. Improving Your App

目錄大綱(中文翻譯)

- 開始使用 Kotlin Android 開發
- 建立你的第一個 Android 應用程式
- Jetpack Compose 佈局基礎
- 使用 Material Design 3 進行設計
- 架構你的應用程式
- 使用 Kotlin 協程進行網路呼叫
- 在應用程式內導航
- 本地持久化數據和背景工作
- 運行時權限
- 調試你的應用程式
- 提升程式碼品質
- 測試你的應用程式
- 發佈你的應用程式
- 持續整合和持續部署
- 改進你的應用程式

類似商品