Android Engineering Articles · Page 11

OpenClaw Memory Design: From File-Based Memory to Scalable Retrieval

A practical analysis of OpenClaw Memory's file-based design, retrieval architecture, isolation model, extension points, tradeoffs, and production practices.

OpenClaw Architecture: How Node, Tool, and Skill Make AI Executable

Starting from an OpenClaw technical discussion, this post breaks down the responsibility boundaries and call chain of Node, Tool, and Skill, and explains why Node design is key to moving AI from answering to executing.

OpenClaw Remote Nodes and Network Communication Architecture

Based on an OpenClaw discussion, this post breaks down the connection path between Gateway, Node, and Tailnet, explaining how remote nodes complete command and tool calls within secure boundaries.

Android ConnectivityManager Deep Dive: From NetworkCallback to Adaptive Network Switching

From NetworkInfo's limits to the NetworkCapabilities model, this article explains real-time network monitoring and adaptive switching with ConnectivityManager.

OpenClaw Tools Permissions: Why Chat Works but Exec and Web Do Not

After an OpenClaw upgrade or fresh install, chat may work while shell execution and web access fail. This post explains the Tools permission model, exec security policy, and a practical troubleshooting path.

Prompt Cost Optimization: When to Write Long and When to Write Short

Detailed prompts are not always cheaper. This post examines token pricing, context decay, and human effort to provide a measurable way to decide when prompts should be long or short.

Git Storage Internals: From Snapshots to Checkout

A practical look at Git's object database, how blob, tree, and commit objects relate, and what git log and git checkout actually do under the hood.

Cross-Platform Motion Collaboration: Using Motion Spec from Design to Code

When advanced motion goes beyond Lottie's limits, a Motion Spec gives design, Android, iOS, Web, QA, and AI code generation a shared language.

LazyColumn Performance: Keys, Content Types, Stability, and Measurement

(Updated on )
Diagnose LazyColumn jank with stable item identity, content types, carefully scoped state, and release-mode Macrobenchmark measurements.

Compose Canvas Custom Drawing: From DrawScope to Declarative Chart Architecture

A deep dive into Compose Canvas, DrawScope, coordinate mapping, path drawing, text layout, and a layered architecture for declarative chart components.

Android App Shortcuts Deep Dive: ShortcutManager, Pinning, and Compose

(Updated on )
A deep dive into Android App Shortcuts, covering ShortcutManager limits, static and dynamic shortcut configuration, Intent routing, pinned shortcuts, and Jetpack Compose integration.

Inside the Android ART dex2oat Pipeline: From DEX Bytecode to OAT Machine Code

A practical walkthrough of the dex2oat pipeline, compiler filter trade-offs, JIT and AOT cooperation, and Baseline Profile startup optimization.

Android 16 App Functions Deep Dive: Semantic Indexes and Intent Routing

A deep dive into how Android 16 App Functions uses semantic indexes and on-device AI agents to move cross-app interaction from Intent string matching to intent routing based on semantic understanding.

AOSP Source Reading Methodology: From System Service Calls to Native Implementations

A practical methodology for reading AOSP source code, from Java API entry points and Binder calls to JNI jumps, native data flow, and debugging tools.

Android On-device AI Chat Compose UI Architecture: Streaming Rendering and Multi-turn Conversation State

Compose UI patterns for on-device LLM chat apps, using token buffering, state isolation, and a single source of truth to keep streaming output smooth.

Prompt Engineering: From Core Principles to Frontier Practice

A practical guide to prompt engineering, covering KERNEL design principles, few-shot and Chain-of-Thought prompting, promptfoo evaluation, DSPy automation, and prompt injection defense.

Automated Android Obfuscated Crash Stack Deobfuscation: From mapping.txt Versioning to Real-time Symbolication

A practical Android crash deobfuscation system covering mapping.txt versioning, object storage design, and real-time symbolication for production crashes.

Android API Compatibility: minSdk, Lint, and Runtime Fallbacks

A practical Android API compatibility strategy covering NewApi Lint, SDK_INT checks, reflection fallbacks, AndroidX Compat choices, CI enforcement, and low-version testing.

Kotlin Inline Functions and reified: Bytecode-Level Optimization

A bytecode-level look at Kotlin inline functions, noinline, crossinline, and reified generics, with practical notes for Compose and compiler optimization.

Kotlin Value Classes and Inline Classes: Zero-Overhead Type Safety

A deep dive into Kotlin inline class and value class compilation, boxing elimination, JVM signatures, Android performance patterns, and serialization compatibility.