Android On-device AI

This topic covers Android on-device AI engineering.

It focuses on how AI capabilities actually land inside Android apps: how models are loaded, how inference is scheduled, how memory and power are controlled, how edge and cloud paths work together, and how Compose screens handle streaming or multimodal output.

This is different from AI Development Tools, which is about using AI to write and operate software. This page is about building AI features that run on Android devices.

Learning Path

  1. Start with platform capabilities: AICore, Gemini Nano, ML Kit, NNAPI, LiteRT, and MediaPipe.
  2. Benchmark the full pipeline instead of only the model: latency, throughput, NPU/GPU/CPU usage, memory bandwidth, power, and thermal behavior.
  3. Design LLM product behavior: prompt budget, context windows, streaming output, local RAG, and conversation state.
  4. Productionize the system: model distribution, versioning, concurrency, fallback, security, multimodal input, and privacy boundaries.

Platform and Capability Entry Points

Performance and Resource Control

LLM, RAG, and UI Integration

Production Governance

Next Step

For resource pressure, frame stability, and tracing methods, continue with Android Performance. For streaming and chat UI, continue with Jetpack Compose. For release gates and model governance, continue with Mobile Engineering.