Mads Lee Jensen
Mads Lee Jensen

Reputation: 4648

Android AIDL client

I've been reading about IPC using AIDL in Android. My question is simply when my application "A" create and expose a service with AIDL. How will my application "B" know the type of the exposed service (the interface defined in the AIDL), will the client application need to get a copy of the ".AIDL" file created in application "A"?

So, if I want to provide a service in my application, clients would require to know the intent they can bind the service to and get a copy of the AIDL file?

Also does Android provide any AIDL services with the default application package??

Upvotes: 2

Views: 1150

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006944

will the client application need to get a copy of the ".AIDL" file created in application "A"?

Yes.

So, if I want to provide a service in my application, clients would require to know the intent they can bind the service to and get a copy of the AIDL file?

Yes.

Also does Android provide any AIDL services with the default application package??

I have no idea what "the default application package" is, sorry.

Upvotes: 2

Related Questions