Phenomenal. I was worried this wasn't possible at first. That link is
phenomenally complicated, but thank you for the lead! I'll post back
with a sample or more questions, depending on how it goes.

Mike

On Jul 15, 2:59 pm, Jean-Baptiste Queru <j...@android.com> wrote:
> The Binder class contains functions that let you query the identity of
> the caller of an IPC.
>
> e.g.http://android.git.kernel.org/?p=platform/packages/providers/Download...
>
> JBQ
>
>
>
> On Wed, Jul 15, 2009 at 2:34 PM, Mike Lissner<mjliss...@gmail.com> wrote:
>
> > Not sure how to phrase this, but I am trying to make some changes to
> > the Location framework so that it will generate a log when third party
> > applications use it.
>
> > A stumbling block I am having is how to determine which application is
> > calling the API.
>
> > For example, there is a method called getSpeed() in the Location
> > class. Whenever this method is called, I'd like to generate a database
> > entry that says something like:
>
> > "getSpeed() method called by XXX application."
>
> > The problem is, I can't figure out how to determine what XXX is. Does
> > anybody have any suggestion about this? Without this field, my project
> > may be sunk.
>
> > Thanks,
>
> > Mike
>
> > PS - this is for the project I outlined in this thread a few days ago:
> >http://groups.google.com/group/android-platform/msg/cb903b4c83a9c97c
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Questions sent directly to me that have no reason for being private
> will likely get ignored or forwarded to a public forum with no further
> warning.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to