Hi, I'm developing an app that essentially is Paint style. The user touchs the screen and can draw images. However I would like to measure the speed of the user's movements. At the moment I take the distance between the X and Y coordinates of the event.getX/Y and the previous values and calculate the difference. This is directly proportional to the speed of the movement provided that the timing intervals of the onTouchListener are constant. Is this the case for Android? I know for iPhone the Listener actually changes it's frequency depending on the input.
Furthermore if it is a constant value, does anyone know what it is? So I can portray the speed in useful units (mm/sec) rather than an arbitrary value. Thanks, Stuart -- 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

