You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities.
... Singh Dalvinder On Thu, Jul 25, 2013 at 9:34 AM, Amit Mangal <forum.amit.man...@gmail.com>wrote: > Hi Developers, > > I am developing tab group activity. inside one tab there are multiple > activity started as a child. > i want to come back to very first activity from inside activity please > tell me how to do that. > here is the code for calling child activity > > Intent previewMessage = new Intent(getParent(), Test.class); > TabGroupActivity parentActivity = > (TabGroupActivity)getParent(); > parentActivity.startChildActivity("Test", > previewMessage); > > i am inside 5th child activity and i want to come back to 1 activity after > doing some task. > onbackpressed function sends me 4th activity i want to jumb 1 activty. > > thanks > > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.