You are missing set flag activity clear top Read this flag in Intent documentation.
... Dalvinder On Fri, Jul 26, 2013 at 12:50 AM, Amit Mangal <[email protected]>wrote: > sorry the code is > > Intent previewMessage = new Intent(getParent(), Detail_Screen. > class); > > > > TabGroupActivity parentActivity = > (TabGroupActivity)getParent(); > > parentActivity.startChildActivity("Detail_Screen", > previewMessage); > > > On Fri, Jul 26, 2013 at 12:49 AM, Amit Mangal <[email protected] > > wrote: > >> Hi Dalvinder Sigh Thanks for reply but didnt work for me >> >> i am having tab group activity and inside that i have started many >> activity the code for starting child activity is >> >> Intent intent = new Intent(Detail_Screen.this, SizeGuideActivity.class); >> >> intent.putExtra("URL", sizeGuideURL) ; >> >> startActivity(intent); >> >> >> On Thu, Jul 25, 2013 at 6:22 PM, Dalvinder Singh >> <[email protected]>wrote: >> >>> 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 < >>> [email protected]> 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 >>>> [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 >>>> --- >>>> 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 [email protected]. >>>> 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 [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 >>> --- >>> 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 [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> > -- > -- > 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 > --- > 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 [email protected]. > 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 [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 --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

