[android-developers] Re: Bizarre launch behavior for a "standard" launchMode Activity
Note how the LogCat shows two instances of the DGraphActivity being started - 2 constructors, 2 onCreates. That only happens when the two startActivities are right next to each other. When I was doing this by tapping the button twice in a row there was only one instance of DGraphActivity created, and there's only one instance when I do this:
ctx.startActivity(intent);
Thread.sleep(2000);
ctx.startActivity(intent); //!! investigating a weird bug
... Even if I wait a Really Long Time for a second instance to appear (like go out to lunch) a second one never happens.
--
--
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+unsubscribe@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home