Re: [android-developers] coming back to very first activity from inside tab group activity
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 <singh.dalvin@gmail.com> 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 <forum.amit.mangal@gmail.com> wrote:
--i am inside 5th child activity and i want to come back to 1 activity after doing some task.i want to come back to very first activity from inside activity please tell me how to do that.Hi Developers,I am developing tab group activity. inside one tab there are multiple activity started as a child.
here is the code for calling child activity
Intent previewMessage = new Intent(getParent(), Test.class);
TabGroupActivity parentActivity = (TabGroupActivity)getParent();
parentActivity.startChildActivity("Test", previewMessage);
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+unsubscribe@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+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com.
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home