Hard to do without changing code.  I always end having to implement
logout(), so all my activities extend a custom base activity, and in
that base activity in onCreate I always end up checking for a global
static:

if(!isLoggedIn){
  finish();
  return;
}


On Jan 6, 4:43 am, Zhihong GUO <gzhh...@gmail.com> wrote:
> thanks for the quick answer. but is there any other solutions? i mean do not
> change the code of activity a and b, just clear the task stack.
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to