Thanks, it got stable when I removed the finish() calls and added this code to the 2d view class:
@Override public void onWindowFocusChanged(boolean hasWindowFocus) { if (!hasWindowFocus) { thread.setRunning(false); thread.yield(); } else { thread.setRunning(true); thread.yield(); } } On Sep 23, 12:42 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Fri, Sep 23, 2011 at 4:11 AM, MobileVisuals <eyv...@astralvisuals.com> > wrote: > > How can I make use of adb logcat, DDMS, or the DDMS perspective in > > Eclipse if I can't reproduce the error in the emulator? It doesn't > > crash there. > > adb logcat, DDMS, and the DDMS perspective of Eclipse are perfectly > capable of examining LogCat on your phone. > > > I also call on finish() on the current activity after every call to > > startActivity. The app seems to run slower after starting the 3d > > activity several times. > > Well, sure. Don't do that. The whole point behind > FLAG_ACTIVITY_REORDER_TO_FRONT was to reuse the existing activity > instances. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training -- 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