My application contains two classes of activity. from the first action, the user can enter the system and from the second action, the user can view their project details. I support the session also with the exit button. In my application, if the user clicked the "Back" button from the second action, he goes to the "Applications" section (main menu), and after a while the user clicked on the icon of his application, he goes to the first action, not the second action, but the user has not logged out.
I want user should go to second activity not first activity if user already login . I tried, but it does not work, and yet I try.
How can I do the above material, please someone will offer me an answer.
android
Nilesh
source share