I have a program with several activities. One can start activity B from clicking on a button in Activity A, and can start C from clicking on a button in B, and so on. In short A->B->C->D->E.
If i click the button “Exit” in Activity E, i want to shut down my whole program, in another word, i want to finish all of the activities. How can i do it?
Thanks a lot!
You don’t. Let the user press the HOME button to return to the home screen.