Hi, All

I found event handler: dispatchTouchEvent(MotionEvent) works
differently between G1 & emulator when finger is holding on touch
screen.

I have a class inherited from RelativeLayout and override public
boolean dispatchTouchEvent(MotionEvent event) method. After I touch &
hold on the touch screen, in emulator I got MotionEvent.ACTION_DOWN
event only. But in G1, I got MotionEvent.ACTION_DOWN first and then
MotionEvent.ACTION_MOVE continuously, even if I try my best to hold
still my finger tip.

I wonder if this is because there is pressure field in the
MotionEvent. Because the blood pressure on finger tip changes
continuously with heart beat, so no matter how still my finger is, the
pressure value still changes. But I wonder if all kinds of touch
screen have pressure factor in their touch event? Will all touch
screen driver emit touch event continuously when finger is holding on
the screen?

Please help, Thanks!


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to