How can I verify, that device support multitouch event? If device have resistent display, multitouch is not possible. Is that way to find out, what kind of display is in device, or if device support multitouch?
Thanks.
This starts the gesture. The pointer data for this pointer is always at index 0 in the MotionEvent . ACTION_POINTER_DOWN —For extra pointers that enter the screen beyond the first. The index of the pointer that just went down can be obtained by using getActionIndex() .
If you need multitouch, include:
<uses-feature android:name="android.hardware.touchscreen.multitouch" />
in your manifest. Your application will not be listed in the Market for devices that lack multitouch.
If you wish to conditionally support multitouch, use PackageManager
and hasSystemFeature()
to see if android.hardware.touchscreen.multitouch
is available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With