# Simple AIDL Communication

> The Android Interface Definition Language (AIDL) is similar to other [IDLs](https://en.wikipedia.org/wiki/Interface_description_language): 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. AIDL file
2. Client application
3. Server application

Example Application:

{% @github-files/github-code-block url="<https://github.com/tejpratap46/AIDL-Example/tree/simple>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.tejpratapsingh.com/android-tips/aidl/simple-aidl-communication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
