Closed antoinetrouve closed 8 years ago
After logout redirect user to Login Activity
Intent intent = new Intent(MenuActivity.this,LoginActivity.class);
Closing all the activities
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
Add new Flag to start new activity
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
See connection process
In case of a user already exist in database when another user trying to connect
Problem
Solution