I am trying to create a log out functionality for for app.I have posted this question here also http://stackoverflow.com/questions/19092631/logout-from-the-application-android.Please suggest me how can we do this.I don't want any back stack of activity on click of back button.This is my first requirement.Hope i will the solution