android - Is it possible to use generated Java interface instead of AIDL -


i need use in app billing service in app. i'm wondering if can put generated .java in package , reference instead of using iinappbillingservice.aidl.

in theory, couldn't make same communication service?

of course, can use java generated files instead of aidl. basically, aidl interface translated java files during compilation of program , not used anymore. pattern used in android platform programming (for instance, activitymanager not created aidl interface there separate java files implement proxy , stub interfaces). think can take generated java file aidl , put directly in service , client projects.


Comments