What is the best way to exit complete Android application (not a single activity) when a button is pressed?
I've tried using finish()
but it only closed the active activity.
What is the best way to exit complete Android application (not a single activity) when a button is pressed?
I've tried using finish()
but it only closed the active activity.