Elements of Android Jetpack

for Android Studio 3.4, covering the Android SDK through 9.0

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!

Right now, this book is in a "beta" state, though it covers much of the basics of Android app development. It should reach Version 1.0 in the second half of 2019, with complete coverage. Subscribers also have access to The Busy Coder's Guide to Android Development, which focuses on first-generation Android app development and offers a more complete look at Android programming.

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.

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
  • Test Tour
  • 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
  • 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
  • Injecting Your Dependencies
  • Testing Your Changes
  • Operating in the Background
  • Creating a New Project
  • Shrinking Your App
  • Using the SDK Manager
  • Using the AVD Manager and the Emulator
  • Configuring Your Project
  • Configuring Android Studio
profile for CommonsWare at Stack Overflow, Q&A for professional and enthusiast programmers

What's New

  • Adds a new chapter on architecture, focusing on the repository pattern and MVI
  • Adds a new chapter on the Storage Access Framework
  • Adds a new chapter on working with preferences
  • Adds a new chapter on Android's permission system, including requesting permissions at runtime
  • Adds a new chapter on working with files on the local filesystem
  • Adds a new chapter on working with Web services and other stuff on the Internet
  • Adds a new chapter on the basics of using Room for SQLite database access


Spread the Word!