Well, yes, you can, and a couple of the ways have been posted already.

But ... are you sure you want to do this? What are you trying to
accomplish? For most purposes, the result would be very poor
modularity.

Depending on exactly what you want to accomplish, there is likely a
better way. Which is why there's no obvious-and-simple way to do it.

On Dec 1, 11:44 pm, Rahul Kashyap <rahul.kashya...@gmail.com> wrote:
> Hi,
>
> Is there any way to find out who is calling whom at runtime?
> I know this can be easily done in a debugger, but i am looking for an API
> which when invoked inside a function, will tell who has called it.
>
> Thanks in advance
> Rahul.

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

Reply via email to