On Fri, Jul 2, 2010 at 4:43 AM, James Wang <[email protected]> wrote:

> We record one flag in A's onStop to remember going to background
> and restore that flag in onStart.
>

Use onPause and onResume.


> So we have to find the other way to tell foreground and backgroud.
>

Why do you need to tell between foreground and background?

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

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