You need to re-read the life-cycle documentation. After pressing [home] your app may be killed at any time, it just hasn't been killed yet.
If you need a background process read up on services. -- RichardC On Oct 28, 7:26 am, "[email protected]" <[email protected]> wrote: > When user presses BACK key, my activity's onDestroy is called and then > it is killed. Is there a way (by overridding Activity.onKeyDown??) to > simply put the activity into background without killing it? > > I want the BACK key to act like the HOME key (which doesn't kill my > app), except I want to show the activity immediately below my > activity. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

