You just need to call finish() Intent intent = new Intent(this, NextActivity.class); startActivity(intent); finish();
Read full article from How to kill an Android activity when leaving it so that it cannot be accessed from the back button? - Stack Overflow
No comments:
Post a Comment