Well, this is what I observe when I press the "back" button:

In the main activity:
- onPause() is called
- onStop() is called
- on Destroy() is called

In the remote service:
- onUnbind() is called (I unbind in onDestroy() of the main activity)
- onDestroy() is called

After that in the debugger:
- main and three Binder threads (#1, 2, and 3) are still running

Those threads will be running as long as I do not terminate them in
the Debugger.
Any ideas how to clean this?


On May 21, 9:50 pm, Mike Hearn <mh.in.engl...@gmail.com> wrote:
> Pressing the back button doesn't necessarily destroy the activity, it
> just pauses it. Read the lifecycle docs to understand what you are
> seeing.
--~--~---------~--~----~------------~-------~--~----~
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