Android Engineering Articles · Page 7
Android AGSL RuntimeShader: From Skia Compilation to Compose Effects
A deep dive into Android AGSL RuntimeShader, including the AGSL-to-SkSL-to-GPU pipeline, uniform shader sampling, Compose integration, practical effects, and performance limits.
Read Post
Android Glance AppWidget Deep Dive: RemoteViews and Compose Widgets
A deep dive into the full Android Glance AppWidget pipeline, from RemoteViews cross-process rendering and the Glance translation engine to Actions, update flows, and update strategy choices.
Read Post
Android 16 KB Pages: Verify ELF and APK Alignment
(Updated on )
Make an Android native app work on 16 KB page-size devices: build the ELF correctly, package it correctly, and verify both artifacts.
Read Post
Kotlin Type-Safe Builders and DSL Design: Receivers, Scopes, and @DslMarker
Starting from a Compose nesting error, this guide explains Kotlin DSL design through lambda with receiver, @DslMarker scope control, Compose, Gradle KTS, and custom builders.
Read Post
Android Fragment Lifecycle and FragmentManager: Transactions, Back Stack, and State Recovery
A deep dive into Fragment transaction async execution, back-stack state recovery, ViewModel lifecycle coordination, commitNow, onSaveInstanceState timing, and common NPE and leak traps.
Read Post
Android Macrobenchmark: The Full Performance Benchmarking Workflow
A practical Macrobenchmark workflow for cold-start measurement, frame smoothness, custom trace metrics, and CI regression gates.
Read Post
Android Dynamic Feature Delivery: From App Bundle to SplitCompat
An end-to-end guide to Android dynamic feature delivery, covering App Bundle splits, SplitCompat runtime loading, Play Feature Delivery, and package size tradeoffs.
Read Post
Android Architecture Evolution: From MVC Confusion to MVI in Compose
A practical walkthrough of Android architecture patterns from MVC and MVP to MVVM and MVI, with Compose-focused guidance for unidirectional data flow.
Read Post
Android Hotfix Internals: ClassLoader Replacement and Tinker Patches
A practical deep dive into Android hotfix systems, from ClassLoader dex replacement to Tinker binary patches, compatibility traps, rollout, rollback, and monitoring.
Read Post
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