Build a range of Android applications that address common real-world issues such as authentication, connecting to synchronous and asynchronous remote sources, rendering complex UIs with Jetpack Compose, and more
Key Features:
- Get hands on with Android development by solving challenging real-world problems and developing three practical projects
- Use the latest features of libraries in Jetpack Compose, Room, CameraX, ExoPlayer, and more
- Learn best practices for UI creation, app structure, data handling, and lifecycle management in Android
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Finding resources on creating apps with the Android framework and Kotlin is easy, but discovering content that addresses the common challenges faced by app developers is difficult. This book is designed to bridge that gap and equip you with the skills to tackle everyday problems in Android development.
You’ll get hands on with Android development by building an app similar to WhatsApp. Next, you’ll learn how to process asynchronous messages reactively, render them using Jetpack Compose, and advance to creating and uploading a backup of these messages. As you progress, you’ll develop Packtagram, an app inspired by Instagram, focused on advanced photo-editing capabilities using the latest CameraX libraries. Finally, you’ll build your own Netflix-like app, integrating video playback functionality with ExoPlayer for both foreground and background operations, and enabling casting to other devices.
By the end of this book, you’ll have crafted three fully functional projects across multiple platforms and gained the expertise to solve the most common challenges in Android development confidently.
What You Will Learn:
- Create complex UIs with Jetpack Compose
- Structure and modularize apps with a focus on further scaling
- Connect your app to synchronous and asynchronous remote sources
- Store and cache information and manage the lifecycle of this data
- Execute periodic tasks using WorkManager
- Capture and edit photos and videos using CameraX
- Authenticate your users securely
- Play videos in the foreground and background and cast them to other devices
Who this book is for:
If you’re a mid-level Android engineer, this book is for you as it will not only teach you how to solve issues that occur in real-world apps but also benefit you in your day-to-day work. This book will also help junior engineers who want to get exposed to complex problems and explore best practices to solve them. A basic understanding of Android and Kotlin concepts such as views, activities, lifecycle, and Kotlin coroutines will be useful to get the most out of this book.
Table of Contents
- Building the UI for Your Messaging App
- Setting Up WhatsPackt’s Messaging Abilities
- Backing Up Your WhatsPackt Messages
- Building the Packtagram UI
- Creating a Photo Editor Using CameraX
- Adding Video and Editing Functionality to Packtagram
- Starting a Video Streaming App and Adding Authentication
- Adding Media Playback to Packtflix with ExoPlayer
- Extending Video Playback in Your Packtflix App