Do something along these lines - Intent i = new Intent(mContext, HomeActivity.class); i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); mContext.startActivity(i);
That will clear the stack back to, and including, the previous instance of HomeActivity and then create a new HomeActivity. If you want to go back to the previous instance of HomeActivity without removing it and creating a new one, you need to also set HomeActivity to a launch mode of singleTop in the manifest. -- 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

