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 nonlinear activity flow.


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 of removing any activities from .apk
file.


On Jan 7, 11:54 am, Beena <[email protected]> wrote:
 Hi All,
 I have problem of removing activity.
 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 with removing the 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

Reply via email to