I want to unload activity .Actually i have three buttons one for login ,proceed and last for logout.when we login home page is appears and when we click on logout then once again login form should appears but problem is this when we logout then all the activity except login activity should destroyed .So please suggest me how to do this.Thanks
Share
Activities are managed in a stack in android. What you need to do is to go back in activity stack. You could call
finishActivity().Here is another thead.