[android-developers] Re: Main and three binder threads are running after application close

2009-05-23 Thread Dianne Hackborn
This is the intended behavior. See the docs starting here: http://developer.android.com/guide/topics/fundamentals.html#procthread On Fri, May 22, 2009 at 11:54 PM, olko wrote: > > > Well, this is what I observe when I press the "back" button: > > In the main activity: > - onPause() is called >

[android-developers] Re: Main and three binder threads are running after application close

2009-05-22 Thread olko
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

[android-developers] Re: Main and three binder threads are running after application close

2009-05-21 Thread Mike Hearn
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" gro