Android Articles

Android System Services and the Framework Interaction Model

A deep dive into Android Framework system services, covering SystemServer startup, ServiceManager registration, AMS, WMS, PMS, getSystemService, Binder, and debugging.

ART Runtime and Advanced Memory Management (1): Foundations

Part 1 of ART Runtime and Advanced Memory Management: why ART, GC, and memory strategy are foundations for Android performance and stability.

ART Runtime and Advanced Memory Management (2): ART GC

Part 2 of ART Runtime and Advanced Memory Management: a deep look at ART heap structure, GC algorithms, pauses, barriers, and GC logs.

ART Runtime and Advanced Memory Management (3): Diagnosis

Part 3 of ART Runtime and Advanced Memory Management: diagnosing leaks, churn, fragmentation, Bitmap memory, OOM, and memory tools.

ART Runtime and Advanced Memory Management (4): Native Memory

Part 4 of ART Runtime and Advanced Memory Management: native memory sources, detection tools, optimization strategies, and memory discipline.

ART Runtime and Advanced Memory Management Strategies

A deep Android memory-management guide covering ART compilation, garbage collection, memory leaks, OOM, MAT, Perfetto, native memory tools, Bitmap optimization, and advanced strategies.

Binder IPC Deep Dive (Beyond AIDL)

A deep dive into Android Binder IPC beyond AIDL, covering architecture, driver internals, memory transfer, thread pools, death notifications, performance, and security.

App Stability Engineering and Online Operations

A practical guide to Android app stability engineering, covering proactive robustness, crash and ANR monitoring, OOM diagnosis, remote logging, feature flags, rollouts, and incident response.

Dynamic Multilingual Localization on Android

A practical Android localization approach that hooks Resources, LayoutInflater, and custom view attributes to support dynamically delivered multilingual copy.

Android Animation Deep Dive: From Principles to Practice (7): Physics-Based Animation

Part 7 of the Android animation series: how SpringAnimation and FlingAnimation create natural, interruptible, interaction-driven motion.

Android Animation Deep Dive: From Principles to Practice (8): MotionLayout

Part 8 of the Android animation series: how MotionLayout uses MotionScene, ConstraintSet, Transition, and KeyFrames for complex interactive motion.

Android Animation Deep Dive: From Principles to Practice (6): Drawable Animation

Part 6 of the Android animation series: how Frame Animation and AnimatedVectorDrawable work, where they fit, and what tradeoffs to watch for.

Android Animation Deep Dive: From Principles to Practice (5): View Animation and Property Animation

Part 5 of the Android animation series: a practical comparison of View Animation, tween animation, Property Animation, and modern animation APIs.

Android Animation Deep Dive: From Principles to Practice

A systematic Android animation guide covering the rendering pipeline, Choreographer, property animation, MotionLayout, physics-based animation, UX value, and performance.

Understanding Android FlexboxLayout and FlexboxLayoutManager

FlexboxLayout and FlexboxLayoutManager bring CSS Flexbox-style layout behavior to Android, making responsive rows, wrapping tags, flexible grids, and RecyclerView-based dynamic content easier to build.

Android App Startup Optimization Program

A systematic Android startup optimization guide covering startup types, cold-start phases, Perfetto and Macrobenchmark diagnostics, Baseline Profiles, and monitoring.