Treking, many thanks as usual. 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?
Cheers. On Wednesday, 8 August 2012 00:32:37 UTC+8, TreKing wrote: > > On Tue, Aug 7, 2012 at 8:28 AM, CJ wrote: > >> As for why I can launch multiple instant of the same app I still have no >> answer > > > That's how Android works. If your app is started by different means (like > from the Launcher or from a notification or another app starts it) it > starts a new instance. If you don't want this behavior, use the correct > flags when launching the Activity. > > > ------------------------------------------------------------------------------------------------- > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en