Skip to content

About

Companion code index for The Staff Android Engineer: chapter-to-repository map and first-edition source download. Book and free sample chapters at thestaffandroidengineer.com

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

The Staff Android Engineer — companion code

First-edition source code for The Staff Android Engineer: Designing, Diagnosing, and Evolving Android Systems by Rajesh Pattanaik.

The book: thestaffandroidengineer.com — three complete sample chapters are free to read there (Chapter 3 on asynchronous ownership, Chapter 20 on trace-based performance diagnosis, Chapter 29 on technical direction). The purchase includes the 1,914-page PDF, the HTML reader guide with lab instructions, and the matching source bundle. Each repository below is runnable on its own with the setup notes in its README.

The projects below retain their frozen first-edition-2026.10 tags. Download the compact source ZIP (packaging revision 2), which preserves the code/projects/ layout required by shared investigation tools. Extract it alongside the paid companion guide.

Before opening or building an Android project from this compact download, run python3 code/setup.py --project commerce-app from the extracted package folder, replacing commerce-app with its project name. Use --list to list projects or --all to prepare them all. Python 3.9 or newer is required; use python if that is your Python 3 command. Setup restores exact original images and fonts offline. The download stores them once; preparing projects increases disk use. Individually cloned repositories already include their assets and need no preparation step.

Revision 2 removes author-only scripts and fetches the pinned Chapter 24 bundletool on demand with SHA-256 verification. Application source, image quality, fonts and chapter checkpoints are unchanged. code/PACKAGE.json documents distribution changes relative to the original source archive.

Original companion code is MIT licensed. Required third-party notices and assets retain their own terms. Book chapters, exercises, written solutions and detailed reader guidance are supplied with the purchased book.

Use JDK27 and the pinned Gradle wrappers. Set ANDROID_HOME to the SDK specified by each project. Individual READMEs describe build/service entry points. For root JVM labs, run ./gradlew test inside the bundle’s code/ directory.

Common Goods

The integrated shopping application.

Application Code repository First-edition version
Common Goods commerce-app 9de51642d4

Chapter code

Independently runnable chapter checkpoints and labs. Chapter 32 is prose-only and has no code repository.

Chapter Code repository First-edition version
0–5 JVM labs kotlin-labs a914681690
5 platform-runtime 8824664c7e
6 compose-migration 958f26a2e6
7 state-lifetimes d861108d7d
8 adaptive-cart b426dc01b7
9 navigation-migration 6af1cfb56f
10 ui-verification af987fe0ce
11 catalog-network 3a0a098ce9
12 persistence-contracts c4c8696b9c
13 offline-reconciliation 7153030338
14 durable-work 5eab30a58a
15 order-recovery 2dc81b0176
16 architecture-boundaries b0b2624d12
17 dependency-ownership 79c37a8bb7
18 build-investigation 8ac75b6f5f
19 delivery-contracts ae535b4618
20 performance-diagnosis 1c05498bf7
21 rendering-performance 322a588baf
22 memory-lifetimes 607c79735f
23 startup-readiness 2c2f1758dc
24 resource-costs af653af149
25 trust-boundaries f7ada04007
26 release-recovery c01480be76
27 design-budgets c789422fbb
28 field-reconciliation b0f32aafc9
29 migration-adoption d26eca8ca5
30 coding-constraints 640226b359
31 interview-conversations f57141f767

Mobile system design casebook apps

The twelve casebook apps cover Chapters 33–44. In the book’s reading order, the casebook follows Chapter 29 and precedes the interview chapters (30–32).

Chapter Code repository First-edition version
33 reservation-payments 2cdaf42c8a
34 live-location c3066e8e9a
35 messaging 6b1013ce1b
36 social-feed 83fc116efe
37 media-library 7bb6e69a0c
38 realtime-calls c5511196fa
39 collaborative-notes 6c56c4bf4d
40 resumable-transfer d3a8b75b3c
41 backend-scale 11ed5a19b8
42 connected-device c309d2d463
43 camera-pipeline 01e84c4165
44 ai-assistant 2cbba07a62

Machine-readable repository map. Report reproducibility problems or errata through this repository’s Issues; identify the chapter and edition without posting paid chapter text.

About

Companion code index for The Staff Android Engineer: chapter-to-repository map and first-edition source download. Book and free sample chapters at thestaffandroidengineer.com

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors