Fwiw, "adb shell dumpsys activity" is very useful to see what is going on in your activity stack. Also the is a log statement for each call to startActivity().
On Sun, Apr 12, 2009 at 6:28 PM, Todd Sjolander <[email protected]>wrote: > > Marco, your hunch was right. I was somehow creating multiple copies > of Activity C. In case anyone can benefit from this, let me explain > how it went wrong. > > I implemented onTouch() in Activity B, which would create an Intent > for Activity C, and then call startActivity(). For some reason, > onTouch() would get called multiple times with each touch, launching a > new Activity C each time. > > Jon, I've seen some oddities from that myself, although I can't really > make sense of it. But it's helpful to keep that in mind. > > Thanks! > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

