Hi, I am not an expert but I think that you should be able to call the Activity.finish() method just after you call the startSubactivity for C in Activity B. If I understood correctly the Forwarding.java sample in samples\ApiDemos\src\com\google\android\samples\app performs exactly what you need.
Let me know if you solved your issue. Regards, Stefano -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Sent: giovedì 3 aprile 2008 11.23 To: Android Developers Subject: [android-developers] Finish Activity(Urgent) I have three activies A B C i start sub activity from A then i startsubactivity from B i just want to do like when i finish C ..it finish all activies and show me the A activity please help me out i tried to do that but ..when i press back button it again shows B activity. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

