Hi Murphy, Thanks for your suggestions.
I have a basic querry.suppose all the three activities are declared as singletop and suppose from activity A i call B activity with intent flag as i.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActvity(i) and from B->C the same intent.Now if i call the activity Aor B from C with the same intent flag .will the oncreate() function of A,B will be called again? If not then it means that the A,B,C are there in the application stack and their old instance is called again? Am I right? Thanks, Shekhar On Apr 22, 11:01 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Shekhar wrote: > > 1.Thanks for your prompt reply.Why I need to have all the three > > activities in the stack because I want to avoid the time it takes > > to create the activity. > > Then improve the performance of the activities, so they start up faster. > > Or, redesign the UI such that the transition time between activities is > not going to be distracting for users. > > > If I press back key on a single top activity.Will it be killed? > > Yes. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Online Training: 10-14 May 2010:http://onlc.com > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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