.AIDL File Extension
Android Interface Definition Language File
Developer | |
Popularity |
4.0 | 11 Votes |
What is a AIDL file?
An AIDL file is used by Android app developers to enable communication between different apps. It contains Java source code that defines an interface, or contract, for how apps can communicate with each other.
More Information
AIDL is an implementation of the Interprocess Communication (IPC) protocol provided by Android. It allows one application to communicate with another application running in a different process. The AIDL implementation was developed to alleviate the time burden on developers who would otherwise have to create code for marshaling objects across process boundaries.
After creating the AIDL file, you should save your AIDL file in the src/ directory of your project. When you build your application, an "IBinder" interface file with a ".java" extension will be generated in your project's gen/ directory. The .JAVA file will bear the same filename as the AIDL file from which it was created.
Common AIDL Filenames
IInAppBillingService.aidl - The Android open source in-app billing (IAB) interface provided by Google for incorporating in-app billing in your app.