Hello all: I'm using an intent flag "FLAG_ACTIVITY_CLEAR_TOP" so that a child activity can be placed on top of the parent activity without covering up my tab navigation.
However, when I return from the child activity, my parent activity is re-created as a new instance, which is not the behavior intended. Is there a way to retrieve the original instance of the parent activity and switch to that when the child activity is done? I was reading up on the FLAG_ACTIVITY_CLEAR_TOP and it seems to say that if you have an activity stack of A, B and C...and C calls startActivity() that resolves to A then B and C will be finished and so the activity stack would now just be A. So in my case I have A...A calls startActivity(B) with the above intent flag...so I'm assuming finish will be called on A...however, when I try to put some log statements in the onPause, onStop and onDestroy methods they are never printed in the debugger...which I'm assuming means those methods are never called...but if finish() is called on an activity doesn't that mean that onDestroy would at least be called? I have been unsuccessful in saving the state of my activity A, but this behavior is not working for me...I can't have this activity re- created once it's child activity (B) returns. Thanks for any help, DanielleM -- 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

