AIDL Interfaces in Android for Inter-Process Communication


Draft in progress.

A walk through AIDL (Android Interface Definition Language): how it generates the proxy/stub that marshals calls across the Binder boundary, how to define interfaces and pass structured data between processes, threading and lifecycle gotchas, and when a bound service with IPC actually earns its complexity.