Book description
Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust apps with the help of this part-color guide
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.
Table of contents
- Mastering Kotlin for Android 14
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1: Building Your App
- Chapter 1: Get Started with Kotlin Android Development
- Chapter 2: Creating Your First Android App
- Chapter 3: Jetpack Compose Layout Basics
- Chapter 4: Design with Material Design 3
- Part 2: Using Advanced Features
- Chapter 5: Architect Your App
- Chapter 6: Network Calls with Kotlin Coroutines
- Chapter 7: Navigating within Your App
- Chapter 8: Persisting Data Locally and Doing Background Work
- Chapter 9: Runtime Permissions
- Part 3: Code Analysis and Tests
- Chapter 10: Debugging Your App
- Chapter 11: Enhancing Code Quality
- Chapter 12: Testing Your App
- Part 4: Publishing Your App
-
Chapter 13: Publishing Your App
- Technical requirements
-
Preparing our app for release
- Add analytics to your app
- Add crash reporting to your app
- Turn off logging and debugging
- Internationalize and localize your app
- Improve error messages
- Test your app on different devices
- Provide proper feedback channels
- Reduce the size of your app
- Use the Android App Bundle
- Enable minification and obfuscation
- Releasing our app to the Google Play Store
- An overview of Google Play Store policies
- Summary
- Chapter 14: Continuous Integration and Continuous Deployment
- Chapter 15: Improving Your App
- Index
- Other Books You May Enjoy
Product information
- Title: Mastering Kotlin for Android 14
- Author(s):
- Release date: April 2024
- Publisher(s): Packt Publishing
- ISBN: 9781837631711
You might also like
book
How to Build Android Apps with Kotlin - Second Edition
Unleash the power of Android programming to build scalable and reliable apps using industry best practices …
book
Pro Android with Kotlin: Developing Modern Mobile Apps with Kotlin and Jetpack
Develop Android apps with Kotlin to create more elegant programs than the Java equivalent. This revised …
book
Kickstart Modern Android Development with Jetpack and Kotlin
Explore modern Android development in Kotlin 1.6.10 with this condensed hands-on guide to building reliable apps …
video
Android Jetpack Compose - Build Android Native UIs Fast
Android Jetpack Compose is a new way of building modern Android apps in Android app development. …