Modern Android 13 Development Cookbook: Over 70 Recipes to Solve Android Development Issues and Create Better Apps With Kotlin and Jetpack Compose

Madona S. Wambua

Language: English

Publisher: PACKT PUB

Published: Jul 7, 2023

Description:

Build exceptional Android applications and wearables with concise guided recipes and support the new foldable technology by using the latest Jetpack libraries

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

Key Features

  • Leverage the power of the latest Jetpack libraries in your day-to-day Android development tasks
  • Explore Wear OS and build large screens to support the foldable world using the declarative approach
  • Write tests and debug your code as you discover the most useful tips, tricks, and best practices

Book Description

Android is a powerful operating system widely used in various devices, phones, TVs, wearables, automobiles, and more. This Android cookbook will teach you how to leverage the latest Android development technologies for creating incredible applications while making effective use of popular Jetpack libraries. You'll also learn which critical principles to consider when developing Android apps.

The book begins with recipes to get you started with the declarative UI framework, Jetpack Compose, and help you with handling UI states, Navigation, Hilt, Room, Wear OS, and more as you learn what's new in modern Android development. Subsequent chapters will focus on developing apps for large screens, leveraging Jetpack's WorkManager, managing graphic user interface alerts, and tips and tricks within Android studio. Throughout the book, you'll also see testing being implemented for enhancing Android development, and gain insights into harnessing the integrated development environment of Android studio. Finally, you'll discover best practices for robust modern app development.

By the end of this book, you'll be able to build an Android application using the Kotlin programming language and the newest modern Android development technologies, resulting in highly efficient applications.

What you will learn

  • Use Kotlin programming to build your Android applications
  • Leverage modern Android development (MAD) libraries to create exceptional apps
  • Explore modern app architecture concepts such as model-view-viewmodel (MVVM)
  • Utilize dependency injection, clean architecture, and module organization
  • Discover how to write UI and unit tests for your applications
  • Get to grips with paging, data binding, and datastore
  • Build large screens to support the new foldable world
  • Explore principles of Wear OS in modern Android development

Who this book is for

This book is for active junior-to-mid-level Android developers with one to two years of professional experience in developing Android applications who are interested in advancing their knowledge of Android development. The recipes in this book use Kotlin and not Java.

Table of Contents

  1. Getting Started with Modern Android Development Skills
  2. Creating Screens Using a Declarative UI and Exploring Compose Principles
  3. Handling the UI State in Jetpack Compose and Using Hilt
  4. Navigation in Modern Android Development
  5. Using Datastore to Store Data and Testing
  6. Using the Room Database and Testing
  7. Getting Started with WorkManager
  8. Getting Started with Paging
  9. Building for Large Screens
  10. Implementing Your First Wear OS Using Jetpack Compose
  11. GUI Alerts – What's New in Menus, Dialog, Toast, Snackbars, and More in Modern Android Development
  12. Android Studio Tips and Tricks to Help You during Development

About the Author

Madona S. Wambua is a Google Developer Expert in the Android category, an Android Engineer programming in Kotlin, and founder of Budgeting Buddy, a free budgeting tool. She is also a Women Tech Makers Ambassador and Women Who Code Mobile Global Lead. She has over seven years of experience in the field and has worked on both consumer-facing applications and building software development kits for developers. She has also worked on the famous Google Glass during her tenure at a startup and got an opportunity to work on interactive AR videos to transform lives through machine learning and computer vision. Madona continues to broaden her development skills while working remotely as an Android Engineer as she continues her education at Samuel Ginn College of Engineering.