In my application, i have exit button to exit from the application. So i have finish() all the activities. But i loses h/w back button behaviour. So my question is: I want to go back to all activites and also want to exit when clicking on exit button..
In my application, i have exit button to exit from the application. So i
Share
your question is little bit confusing but i think you need this
Finish all activities when back button is pressed
and never use system.exit for exiting application Close application and launch home screen on Android
edited