I have an app with more than 4 activities, but when somebody wants to exit the app, he gets all the activities again. Now i've tried to use exit codes:
this.finish()
android.os.Process.killProcess(android.os.Process.myPid())
etc.
But nothing helps me, so my question is, is there an way to kill all the activities at one time, like a task killer?
Edit:
I've found it on myself:
When you launch the second activity, finish() the first one immediately:
startActivity(new Intent(...));
finish();