Elements of Android Jetpack


After a decade’s worth of Android app development, 2018 debuted the second generation of Android app development techniques, highlighted by Jetpack and the AndroidX family of libraries.

This book follows in the footsteps of The Busy Coder’s Guide to Android Development, to introduce developers to Android app development, focusing on Jetpack. Here you will learn how to set up an Android app for Java or Kotlin, create a user interface, and more!

In particular, it covers Android through Android 11, plus it covers Android Studio 4.1.1.

This book is published in PDF, EPUB, and MOBI/Kindle formats, for use in your favorite digital book reader. Or, read directly in your Web browser on the Warescription site, complete with full-text searching.

This book will be updated a few times per year, usually after an Android Studio major release.

Subscribe for $20 »

The Table of Contents

Each bullet shown below represents a chapter. Use the search field in the nav bar to search all of the CommonsWare books to see what they hold!

  • Introducing Android
  • Setting Up the Tools
  • Getting Your First Project
  • Taking a Tour of Android Studio
  • Examining Your Code
  • Exploring Your Resources
  • Inspecting Your Manifest
  • Reviewing Your Gradle Scripts
  • Inspecting the Compiled App
  • Touring the Tests
  • Introducing Jetpack
  • Introducing the Sampler Projects
  • Starting Simple: TextView and Button
  • Debugging Your App
  • Introducing ConstraintLayout
  • Integrating Common Form Widgets
  • Contemplating Contexts
  • Icons
  • Adding Libraries
  • Employing RecyclerView
  • Coping with Configurations
  • Integrating ViewModel
  • Understanding Processes
  • Binding Your Data
  • Defining and Using Styles
  • Configuring the App Bar
  • Implementing Multiple Activities
  • Adopting Fragments
  • Navigating Your App
  • Dialogs
  • Thinking About Threads and LiveData
  • Adding Some Architecture
  • Working with Content
  • Using Preferences
  • Requesting Permissions
  • Handling Files
  • Accessing the Internet
  • Storing Data in a Room
  • Inverting Your Dependencies
  • Testing Your Changes
  • Working with WorkManager
  • Creating a New Project
  • Signing Your App
  • Shrinking Your App
  • Using the AVD Manager and the Emulator
  • Using the SDK Manager
  • Configuring Your Project
  • Configuring Android Studio
  • Coping with New Android Versions
  • Deciding Where to Go From Here
profile for CommonsWare at Stack Overflow, Q&A for professional and enthusiast programmers

What's New

  • Updates for Android Studio 4.1.1, including inline emulators and the Database Inspector
  • Switched all examples over to view binding and away from Kotlin synthetic accessors
  • Updates for Android 11’s handling of storage and permissions

Details

Spread the Word!