I've tried this way, it improved the framerate, but still not good enough I think. Before using sleep(), the FPS reduced from 35 to 15, now with sleep, it reduced from 35 to 25 which sounds not good enough.
Anybody ***REALLY*** fixed this problem? Or, 35fps to 25fps is almost the best performance while pressing the screen for me? and should I stop improving it and accept it? :-( On Oct 20, 11:50 am, Nightwolf <[email protected]> wrote: > Try this solution > > public boolean onTouchEvent(final MotionEvent event) { > try { > Thread.sleep(50); > } catch (final InterruptedException e) { > } > return super.onTouchEvent(event); > } > > On Oct 19, 7:00 am, Eric Wang <[email protected]> wrote: > > > > > Hi all, > > > I found that if Ikeeppressingthe touch screen, the app will slow > > down very much. Both happened in my code and the sample app. > > > The same issue happened to me on Windows Mobile, but not happened on > > Symbian. Anybody have some clew to fix it? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

