I am new to Android. I am doing simple app with login/logout. My launcher activity is HomePageActivity. At HomePageActivity user authorization is checked and if user is not logged in he is sent to LoginActivity. The problem is that when user clicks physical "back" button he is sent to HomePageActivity.
How can i prevent this?