Re: 回复: [android-developers] Re: how to clear activity stack in task

2010-01-06 Thread Matt Kanninen
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 wrote: >

[android-developers] Re: how to clear activity stack in task

2010-01-06 Thread Manoj
I am also facing the same problem in my application in my application A starts B and B starts C now C is on the screen and i want to close the complete app in just a single click of button. Manoj Chauhan -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: how to clear activity stack in task

2010-01-06 Thread jwei512
Are you looking for a practical answer? Or was this more of a "theoretical" thought experiment type of question? If you want the practical answer, then I guess the simple thing to do would be to kill Activity A in it's onActivityResult method (which should be overridden since you are calling start