rrathi / adamICS

This is adam ICS port
33 stars 14 forks source link

beta2 touch errors = keyboard errors, sudden scroll up #76

Open PhillipGummerson opened 12 years ago

PhillipGummerson commented 12 years ago

This problem can be seen if one enables "pointer location" under "development options" in setup. The trace shows that occasionally the pointer jumps to the top left screen corner and back to the current touch position.

The symptom of this problem is false finger swypes being detected. It causes lists to suddenly scroll up, or miss-types on a keyboard.

I am using an early adam with pixelqi and 3G

trin-cz commented 12 years ago

I'm an app developer and I was also hit by this issue. The problem is, that instead of MotionEvent.ACTION_UP, the pointer moves to coords [0,0].

Workaround: Detect movements to [0,0] as ACTION_UP in your application. This completely removed the problem for me (movements to exactly [0,0] almost cannot happen anyway). Of course this can only be done by the developer of the app ;-)

I wasn't able to debug this using the "development options". Maybe the development options already includes the workaround. But my opengl app just got movement to [0,0] instead of ACTION_UP. This is bad, bad, very very bad. This may be the reason, why so many apps do not work on Adam :-(