how to clear the the activity stack in android.

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-12-27T17:42:03Z Indexed on 2010/12/27 17:54 UTC
Read the original article Hit count: 254

Filed under:

Hi,

im having following application flow in my android app,

Login->Home->screen1->screen2->screen3->screen4-> logout

In the screen4 i've a log out button,which allow user to logout from the application and re login.when i re-logn to the app previous data still be shown,is there way to start the application in fresh when user log out from the app

NOTE: all the above activities launch mode set to "single task",

regards, Sam.

© Stack Overflow or respective owner

Related posts about android