Please reply to the whole group so others can see what you're talking about
and try to help you.

On Thu, Aug 19, 2010 at 5:49 AM, chetan <[email protected]> wrote:

> Activity AA(Showing Stop Watch )  of Application is in resume state means
> in active state.
>

OK, so some random application that happens to have a Stop Watch. OK.


> And if some background running service of same Application or different
> Application  throw a dialog.
> Or some ANR(Android Not Respond) pop would come on middle of screen then
> Activity AA  would go in pause state but its UI of Stop Watch  is updating
> the timer.
>


> How it is happening .
>

The "paused" state does not necessarily imply that the entire Activity is
prevented from updating. In particular, if an Activity has a running thread,
that will continue to run. If the Activity is still visible, as in the case
when it's below a dialog, it will still be drawn. So whatever is driving the
activity's stopwatch (a thread, presumably) can continue to update the
activity and you will see it.

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