Can't the calling Activity pass a reference to itself?

On Nov 30, 2:10 pm, Peter Jeffe <[EMAIL PROTECTED]> wrote:
> I can't find any way to determine my current context, I'm hoping I'm
> just missing it, but maybe I'm missing something about contexts.  I
> have a singleton object that maintains a connection to a service on
> behalf of potentially multiple activities, and I need to be able to
> bind/unbind on their behalf, and it's impractical (and maybe
> impossible) to know which context I'm running under at any given
> point.  So I just want to be able to determine the context from down
> in the call stack.  Thanks for any help.
--~--~---------~--~----~------------~-------~--~----~
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