Suppose you have .. A->B->C If you want to go back from C->A directly, Call finish() on B after you invoke C
eg: this would be in B ... Intent i = new Intent(new ComponentName(this,C)); this.startActivity(i); finish(); -Dan On Feb 4, 2:43 pm, Gw1921 <[email protected]> wrote: > Hi > > I've got four activities > > A, B, C and D where A is the main entry screen. > > No matter how I navigate to B, C or D (via A->B or A->C-B etc), I want > the back button to always go to activity A. What flag can I set to do > this specifically? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

