but in that case of deleting some data onto F activity and then showing refresh data on E
how can we do this without startSubactivity ??? if user press back button user will be shown incorrect data which is wrong if using startsubactivity activites are overlapping i have been stucked here it have taked 3 days of mine i coudlnt sovle this problem On Mar 12, 1:33 am, hackbod <[EMAIL PROTECTED]> wrote: > Hi Chris, > > There will be an API for this in an upcoming SDK. > > On Mar 11, 9:27 am, cirion <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I have multiple Activities that a user can navigate between. Each > > stacks on top of the previous one, so the user starts at A, goes to B, > > then C, D, E, and F. Pressing the back arrow will return them to the > > previousActivity, as expected. > > > Now, if the user takes a particular action inactivityF, I want to > > return all the way toactivityA. The way I currently do this is to > > always call startSubActivity when going to a new screen. In F, I'll > > call setResult(RESULT_OK) and call finish(). Then, in eachactivity's > > onActivityResult, I'll check the resultCode. If it's RESULT_OK, I'll > > repeat, calling setResult(RESULT_OK) and finish(). > > > Functionally, this works fine - I can go from F all the way back to > > A. However, I see each intermediate screen briefly display for a > > fraction of a second before going away. > > > Is there a good way to jump back several Activities without displaying > > each intermediateActivity? > > > Thanks, > > Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

