On Wed, Apr 27, 2011 at 3:22 PM, Eric <e...@alum.mit.edu> wrote:

> Let's say you implement onStop() to stop/kill the thread you created
> in onStart().  You then navigate to a new activity by starting it.
>  Your activity gets paused.
>

It will also get stopped, as it's no longer visible, and onStop() will get
called.

The best thing to do is implement all the life cycle methods with a debug
line and run through the scenarios to see when and if each function gets
called.

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