About
This is Kai’s knowledge base for deep Android technical notes and engineering practices.
The site focuses on Android Framework, performance optimization, Jetpack Compose, Kotlin, on-device AI, CI/CD, and mobile architecture governance. Instead of keeping scattered notes, I want to organize source-code paths, engineering experience, troubleshooting methods, and learning routes into content that can be searched and revisited: useful both when you need to locate a concrete issue quickly and when you want to keep reading through a topic systematically.
What This Site Covers
The content is mainly organized around these areas:
- Android Framework: Binder, system services, processes and threads, permissions, ContentProvider, PMS, Zygote, WebView, and other system paths.
- Android performance optimization: cold start, rendering, memory, Bitmap, ANR, Perfetto, Macrobenchmark, stability governance, and production troubleshooting.
- Jetpack Compose and Kotlin: recomposition, Modifier, gestures, animation, Glance, coroutines, Flow, the K2 compiler, and multiplatform engineering.
- On-device AI and AI development tools: Gemini Nano, AICore, NNAPI, on-device LLMs, RAG, multimodal inference, Codex, OpenClaw, and agent engineering practices.
- Mobile engineering: Gradle builds, CI/CD, modularization, testing systems, architecture evolution, developer productivity, and team collaboration.
Content Principles
I try to make each article answer three questions:
- What problem does this mechanism solve in the system or engineering path?
- What are the key call chains, data flows, or state transitions?
- How can it be diagnosed, verified, and applied in a real project?
For that reason, the site does not stop at API usage, and it does not treat source-code excerpts as conclusions. The ideal shape is: start from a concrete problem, trace it back to system design, then land on executable debugging and engineering approaches.
Who This Is For
If you work on Android application development, Framework debugging, performance optimization, mobile architecture governance, or are evaluating how on-device AI and AI tools fit into development workflows, the content here should be useful.
If you are just starting to study Android systematically, you can begin with the Topic Index. If you already have a concrete issue, search by keyword or go directly to the relevant topic.