I am writing a remote service using AIDL. The APIs on this service
will be used by activities running in other applications after they
bind to it. I want this service to be shared/used by among multiple
applications that is why I want to run it in it own process and have
other applications talk to it over RPC.

My question are-
- Is there a way to know which application is calling into the
service? I would like to retrieve package name or ApplicationInfo of
calling app.
- Do Context.getPacakgeName and Context.getApplictionInfo inside my
service return information about the process in which service is
running or the process in which calling app is runing?

thanks
Chetan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to