If i understand you correctly, you'd want to assign 'singleTop' to an activity's Launch Mode (in the manifest).
This mode makes sure that there is at most one instance of your activity in your app, never more than one. When a 'singleTop' activity is created, its onCreate method is called. When a 'singleTop' activity is brought back to the front by some other activity/context calling startActivity with an intent, its onNewIntent method is called (be sure to call setIntent(...) within the onNewIntent method). (When a (singleTop) activity is brought back to the front by a 'BACK- key' press, the activity's onStart, onResume methods are called) On Jan 28, 5:27 pm, Moto <[email protected]> wrote: > Not sure you understand the question or I don't understand the process so > please let me explain what I think it's happening. > > Using flag FLAG_ACTIVITY_REORDER_TO_FRONT brings the activities to the > front. If already is somewhere in the history stack than it will be brought > to the front and if not it will be created and than put at front of the > history stack. This behavior allows keeping the history stack "clean" so > the user doesn't press back and continue to see repeated activities left and > right like so many apps on the Android Market. "THAT"S WHAT I WANT TO > AVOID!" > > Thinking on that behavior I wanted to find out if I could somehow have > identical behavior but having the activity be restarted as it's brought to > the front. > > >>That is like saying that red is not blue, and you want to know how to > >>make red be blue, because you always want blue. > > I'm sorry but this question is nothing like red is not blue.. etc... Please > take the time to read and help, and not try to degrade the developer! -- 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

