I can handle "may be killed". I just don't want "killed for sure".
Anyone got an answer for this? On Oct 28, 12:37 am, RichardC <richard.crit...@googlemail.com> wrote: > 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, "tomei.ninge...@gmail.com" > > > > <tomei.ninge...@gmail.com> 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!- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---