Android Articles
Android Configuration Changes: Activity Recreation and ViewModel Survival
A source-level walkthrough of Android configuration changes, from ActivityThread relaunch handling to NonConfigurationInstances, ViewModelStore retention, and the boundary with SavedStateHandle.
Read Post
Android App Links: Digital Asset Links and Web-to-App Routing
A full-chain guide to Android App Links, covering Digital Asset Links, automatic domain verification, routing behavior, debugging tools, release signatures, and cross-domain pitfalls.
Read Post
Android StrictMode: From BlockGuard Hooks to CI Quality Gates
How to turn Android StrictMode from a debug helper into a CI quality gate, with BlockGuard internals, structured JSON output, and production soft interception.
Read Post
Android Credential Manager: FIDO2, Passkeys, and Device-Side Security
A deep dive into Android Credential Manager, covering FIDO2 passwordless authentication, TEE-backed key protection, and passkey cross-device sync.
Read Post
Android Modular Communication: Route Tables and SPI Service Discovery
A practical comparison of two Android modular communication strategies: route tables and interface extraction with SPI service discovery, including implementation details and selection guidance.
Read Post
Compose and View Interop: AndroidView, ComposeView, and Two-Way State
A practical deep dive into Compose and View interoperability, including AndroidView, ComposeView lifecycle binding, state synchronization, focus, touch conflicts, and migration strategy.
Read Post
Android MediaCodec Video Pipeline: MediaExtractor, Buffers, and Hardware Encoding
Trace Android video transcoding from MediaExtractor demuxing to MediaCodec async buffers, hardware decode compatibility, and MediaMuxer output.
Read Post
Android Scoped Storage Internals: From Sandbox Isolation to MediaStore Mapping
A full-path look at Android Scoped Storage, covering FUSE interception, MediaStore database mapping, permission layers, SAF migration, and practical Android 10+ adoption.
Read Post
Android Bytecode Instrumentation with ASM and Gradle Plugins
A full walkthrough of Android compile-time bytecode instrumentation, from Gradle Plugin entry points and ASM visitors to page monitoring, privacy logs, and method timing.
Read Post
Android Permissions: Runtime Grants, AppOps, and Testing
(Updated on )
Understand Android permission decisions, recent platform changes, AppOps limits, and a testable feature-first request flow.
Read Post
Inside the Android APK Build Pipeline: aapt2, DEX, R8, and Signing
A deep dive into Android APK builds, from aapt2 resource compilation and d8/R8 DEX generation to signing evolution, zip alignment, and package optimization.
Read Post
Android ContentProvider IPC: URI Routing, Cursor Windows, and ContentObserver Notifications
A deep dive into Android ContentProvider cross-process data sharing, covering URI routing, transparent Cursor IPC, and ContentObserver change notifications.
Read Post
Jetpack Compose Modifier Internals: From Modifier.Node to Layout and Drawing
A deep dive into the Compose Modifier chain, the shift from composed to Modifier.Node, how declarative modifier pipelines are built, and where performance gains come from.
Read Post
Testing Kotlin Coroutines: TestDispatcher, Virtual Time, and Turbine
A practical guide to coroutine unit testing with runTest virtual time, TestDispatcher injection, Dispatchers.Main replacement, Turbine Flow assertions, and common Android testing traps.
Read Post
Jetpack Compose CompositionLocal: Implicit Data, Scope, and Internals
A deep dive into CompositionLocal, including parameter tunneling, compositionLocalOf versus staticCompositionLocalOf, Slot Table internals, and engineering tradeoffs.
Read Post
Android Large Screens and Foldables: From WindowSizeClass to Compose Adaptive Layouts
A practical guide to Android large-screen and foldable adaptation with WindowSizeClass, Compose adaptive layouts, posture awareness, split-screen behavior, and responsive UI strategy.
Read Post
Compose Custom Layout: MeasurePolicy, Intrinsics, and Waterfall Layouts
A deep dive into Jetpack Compose custom layout, from MeasurePolicy constraints and intrinsic measurement to SubcomposeLayout, adaptive grids, waterfall layouts, and debugging tips.
Read Post
Android Audio System Deep Dive: AudioFlinger Mixing and AAudio Low Latency
A deep architecture walkthrough of the Android audio pipeline, from AudioTrack buffers and AudioFlinger mixer scheduling to AAudio MMAP pass-through, latency tradeoffs, and production API choices.
Read Post
Android Multimodal On-device AI: Gemini Nano, Image Tokens, Streaming, and Compose
A practical Android multimodal AI walkthrough covering Gemini Nano Multimodality, AICore model loading, image preprocessing, ViT tokenization, streaming inference, Compose rendering, memory, and thermals.
Read Post
Inside Android CameraX: From Camera2 Pipeline to Compose Camera UI
Analyze CameraX's layered pipeline from HAL and Camera2 to UseCase APIs and Compose integration, with production lessons on focus, resolution, and leaks.
Read Post