How Do I Get Android Paint(stylus) Size?
I am developing an App that need to detect the stylus's size, for instance, if I use my hand(relatively wide) to draw, return null, if I use the stylus(relatively small) to dra
Solution 1:
You can use MotionEvent.getSize() method to detect sizes of finger and stylus touch and then create rule how to determine what caused the touch. Also MotionEvent.getPressure() may be useful.
Post a Comment for "How Do I Get Android Paint(stylus) Size?"