In android finish(); is used to close the Current activity. In my application i’ve more than 4 Activities. I want to finish them with one single statement. How can i done this here.
I’ve tried the System.exit(0); it’s not working for me. Why this not working for me also? Anyone guide me here? Thanks in Advance.
Its better to always go back to homeActivity by using startActivity of your home screen. you can find answers here. How to close all the activities of my application? and Is quitting an application frowned upon?. its already discussed here