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
>
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
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
3 matches
Mail list logo