The below code should work for triggering the home screen.
Having said that, unless you have a custom device lacking home and
back buttons, this is probably a bad idea. As is an exit button. And
an exit button that doesn't really exit and just dumps you to the home
screen is baffling. Those things
If you want to exit, just use finish().
On Mar 10, 10:23 am, Wides erich.weid...@gmail.com wrote:
Hi, I have a requirement to implement an Exit button in my Android
application. I don't really care about killing the activity stack, I
just want to have the same effect as pressing the Home
2 matches
Mail list logo