[android-developers] Re: Framerate killed by onTouchEvent spam

2009-04-27 Thread Streets Of Boston
One work-around works rather well if you do the onTouchEvent handling in the main GUI-thread and drawing the screen in another (background) thread. In your handling of your onTouchEvent (especially when handling the ACTION_MOVE) add a sleep statement for about 20 milliseconds (or a bit longer)

[android-developers] Re: Framerate killed by onTouchEvent spam

2009-04-27 Thread MrSnowflake
Is this slowdown 'solved' when using the new GLSurfaceView? On 27 apr, 16:28, Streets Of Boston flyingdutc...@gmail.com wrote: One work-around works rather well if you do the onTouchEvent handling in the main GUI-thread and drawing the screen in another (background) thread. In your handling