Jason, can you show me where and how to set the flag FLAG_ACTIVITY_SINGLE_TOP? I am not able to get, where to set.
Thanks. On Jan 12, 12:02 am, Jason Proctor <[email protected]> wrote: > i think maybe you're not understanding the question! > > Beena -- if SINGLE_TOP and CLEAR_TOP don't work for you, as the > activities don't have co-operating classes or something, then you > could set a flag somewhere global. the intervening activities would > then check this flag and finish() appropriately. Activity2 would not > check the flag, etc. > > but SINGLE_TOP and CLEAR_TOP are kinda designed for this > nonlinearactivityflow. > > > > >hi, > >one of the possible answers may be, > >you can launch the Activity2 on onClick event of the button in > >Activity5. > > >and we dont have any options ofremovingany activities from .apk > >file. > > >On Jan 7, 11:54 am, Beena <[email protected]> wrote: > >> Hi All, > >> I have problem ofremovingactivity. > >> I have 5 Activities in sequence Activity1, Activity2, Activity3, > >> Activity4, Activity5. > >> When I am at Activity5 there is a button through I can go to > >> Activity2. > >> Means jump from 5 to 2 withremovingthe Activity3 & 4. > >> How can I do that? > > >> Please help regarding this. > > >-- > >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 > > -- > jason.vp.engineering.particle -- 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

