On Wed, Sep 1, 2010 at 7:24 AM, Anil <[email protected]> wrote:

> ok, so perhaps the ActivityManager or some such class stores the state of
> each activity?
>

Maybe, there's probably *some* class somewhere that's aware of the Activity
stack and what's where and whatnot. But you really don't need to know this.

If you communicating with a Service, you can bind to it and simply call
through to it from onPause and onResume, which is basically what tells you
if you're "Active" or not.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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