0

my problem is that i would acquire a signiture from screen in app android.I would that the signature is composed from succession of points, of these I want the coordinate x and y, pressure on the screen and the time interval between the points. For the coordinate there is a class in android but i don't found how to calcolate also other two parameters. You know some class in android ?

1 Answers1

0

The MotionEvent class is the one you need. An object of this class is provided to you in the onTouchEvent function of the View class. Simply overload this function to implement the behaviour you want for your app.

Zelig63
  • 1,592
  • 1
  • 23
  • 40