I am working with IPC mechanism and handling it through bound service and using .adil file with custom object... i.e. my structure of adil fileis something like this :
Obj.aidl:
package com.example.demo.A;
parcelable Obj;
IMyService.aidl:
package com.example.demo.A;
import com.example.demo.A.Obj;
interface IMyService {
void requestSomething(in Obj data);
}
And i am having three consumer applications to deal with this adil file and data which are bounded to this service... I have copied two aidl files(Obj and IMyService) and the DataModel class in all the three projects to make it work.
I am looking for the solution where I can re-use these code and make some common file so that i just need to import that file(something like jar file ) and i can work with aidl functions..