Creating an AIDL file
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 FileLet's name it
ICalculator.aidlDeclare aidl methods:
interface IExampleAidlInterface { int add(int a, int b); }
Last updated