I agree with Piotr.

Tomei,
We may be able to help you with the *how*, if you told us *what* you
are trying to accomplish. I am almost 100% it could be done without
trying to circumvent Android's lifecycle management.

On Oct 28, 4:42 am, Piotr <[email protected]> wrote:
> If you think how to get "around" application lifecycle, then you
> project design is TOTALLY BAD. Really.
>
> Redesign project.
>
> On 28 Paź, 08:26, "[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!- 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to