On Tue, Aug 7, 2012 at 8:15 PM, CJ <[email protected]> wrote: > How can this happen? When an app has already launch, it will not restart > onCreate() but onResume(). > My app is starting onCreate() everytime, I have to put that isTaskRoot() > to fix it. Never happen in my other app. > You mean this is normal? >
If you're launching the app multiple times from the same method (like from a shortcut on your homescreen) an onCreate is called each time, then no, this is not normal. I would guess you have a flag or something set in your manifest that is causing the Activity to be recreated each time. Maybe post your manifest? ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

