Simple AIDL Communication

AIDL is Android's way of achieving IPC.
The Android Interface Definition Language (AIDL) is similar to other IDLs: it lets you define the programming interface that both the client and service agree upon in order to communicate with each other using interprocess communication (IPC).
AIDL consists of 3 parts:
  1. 1.
    AIDL file
  2. 2.
    Client application
  3. 3.
    Server application
Example Application: