Re: [android-developers] What is the code to close all activities currently in backstack

2011-09-30 Thread Mark Murphy
On Thu, Sep 29, 2011 at 9:23 AM, SumiGhosh wrote: >               We know that to close an activity we use finish();. Is > there anyway to close entire app by calling finish() Not really. > i mean to close > all the activities in the back stack by a single command. Why? -- Mark Murphy (a Comm

[android-developers] What is the code to close all activities currently in backstack

2011-09-30 Thread SumiGhosh
Hi guys.. We know that to close an activity we use finish();. Is there anyway to close entire app by calling finish(); i mean to close all the activities in the back stack by a single command. What i'm following now is calling startActivityForResult() from each activity and