I am developing a custom launcher/home-screen, thus I am able to hand home-press events.
Sometimes I want it to intercept Home-presses without affecting the visible activity-stack so to speak. When I press home, however, I get to the launcher stack I suppose, but what I want to do then is get back to the last visited activity stack that was shown right before I pressed home. How can I do that?
How can I retrieve and show the activity that was visible right before I pressed home?