Thanks, stopping my thread in onStop did it.
On Feb 28, 5:56 pm, Mark Murphy <[email protected]> wrote:
> coolbho3k wrote:
> > In my game, I've got one activity starting another activity via an
> > intent. When the user is finished with the second activity, they quit
> > it using the back button. However, I have a problem: when this
> > happens, the second activity is still running, even if it's quit with
> > the back button.
>
> Are you shutting down your background threads in onDestroy() (or
> onPause() or onStop())?
>
> I do not believe that background threads automatically terminate on a
> back-button press -- you need to handle that yourself.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---