On Mon, Nov 8, 2010 at 9:12 PM, John <jhn...@yahoo.com> wrote: > 1. I am thinking whether it is possible to use a static variable to > keep track of running NotesList activity: > increment the variable in NotesList.onCreate and > decrement the variable in NotesList.onDestroy > Then instead of calling StartupActivity.needStartApp simply compare > the variable with 0.
That would work if both instances are in the same process. I haven't investigated this problem enough to know whether or not that will be the case. > 2. Or change some Intent flags, as you suggested before. Again, that was for your original "bug #2". I do not think there is a way that will help for this scenario, though. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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