Android Articles

Advanced Android Network Programming and Optimization (2): OkHttp Internals

Part 2 of Advanced Android Network Programming and Optimization: OkHttpClient, Dispatcher, ConnectionPool, interceptors, EventListener, DNS, and TLS.

Advanced Android Network Programming and Optimization

A deep dive into Android networking, covering HTTP/2, QUIC, OkHttp internals, Retrofit extensions, gRPC, WebSocket, weak-network tuning, and monitoring.

Advanced Data Persistence and Caching Strategies

Data powers modern apps. This guide covers advanced Android persistence, SQLite and Room optimization, key-value storage, caching, offline-first design, large files, and synchronization.

APK Decompilation and Recompilation: From Basics to Practical Workflows

A practical guide to Android APK decompilation, modification, recompilation, AAR dependency integration, and APK signing with apktool and related tools.

Android Native Crash Handling and Firebase Capture Guide

How to trigger Android native crashes, why Firebase Crashlytics misses them by default, and how to configure NDK symbol uploads.

Android App Security Hardening: Attack and Defense in Practice

A practical guide to Android app hardening, covering reverse engineering, code protection, RASP, network security, secure storage, and security coding practices.

7 ADB Commands Every Android Developer Should Know

ADB is an essential Android debugging tool. These 7 practical commands make app installation, logging, screenshots, file transfer, and device control faster.

Android Hidden APIs: From @hide to Greylist and Blacklist

Android exposes a rich public SDK, but many framework methods and fields are hidden with @hide. This article explains hidden API categories, runtime enforcement, greylists, blacklists, source generation, and safer compatibility strategies.

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 (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.