Sunday, August 1, 2010

Android custom view onTouchEvent

Programmer Question

Hello,



I'm implementing an OpenGL ES based application for Android. The device I'm testing on is an HTC Desire. It auto updated to Android 2.2 today.



I've got a custom GLSurfaceView that implements onTouchEvent however it seems that the default behaviour of Android has changed. For example, when keeping focus on a single touch area the function used to be a called 20-30x per seconds and now it seems it only gets called once every 2 seconds. Does anyone know how to fix this or get the default behaviour back?



Thanks in advance.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails