Hi can anyone tell me where to place aidl file in project tree and how to use it in project source. Will aidl file gets compiled, If i build apk ?? How to use it in eclipse ?
AIDL (Android Interface Definition Language) is similar to other IDLs you might have worked with. It allows you to define the programming interface that both the client and service agree upon in order to communicate with each other using interprocess communication (IPC)
Where to place aidl file ?
Save aidl file in the source code (in the src/ directory) of both the application hosting the service and any other application that binds to the service.
Will aidl file gets compiled, If i build apk ?
When you compile your project, then there project automatically generate one file in gen foler.
Look at here for more details.