Creating an AIDL file
an .aidl file is a barebone description of set of API's server exposes
buildFeatures { aidl = true }interface IExampleAidlInterface { int add(int a, int b); }
Last updated
an .aidl file is a barebone description of set of API's server exposes
Enable build feature in your build.gradle.
buildFeatures {
aidl = true
}Create a new AIDL file using File -> New -> AIDL -> AIDL File
Let's name it ICalculator.aidl
Declare aidl methods:
interface IExampleAidlInterface {
int add(int a, int b);
}Last updated