Use onResume(). If the activity is not being created, then there's no way onCreate would be called.
Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Jan 29, 2011 at 3:15 AM, Moto <[email protected]> wrote: > I'm trying to keep my activity calling flow simple for the user. Always one > instance of the activity on the history stack. > > So using flag > FLAG_ACTIVITY_REORDER_TO_FRONT<http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT>, > is perfect! but there is a slight issue. > > The activity is brought to the front but the onCreate() is not called if > Activity is already started. Makes sense, but I want the behavior to be that > it calls onCreate(). > > Thanks for the help! > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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

