Determine package name from AIDL functions

Put your problem here if it does not fit any of the other categories.

Determine package name from AIDL functions

Postby alexm » Tue Jun 29, 2010 3:38 pm

I have an AIDL service which has several client activities. I need to determine which activity/package is calling the interface functions.

Can I do it using getCallingPid and/or getCallingUid during the IPC calls.

Or is there a way to do it at bind time, associate the IBinder interface with a package name?
alexm
Junior Developer
Junior Developer
 
Posts: 14
Joined: Tue Jun 22, 2010 7:34 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 31 guests