You can distinguish between different broad multitouch classes (none, just pinch gestures, true 2-point multitouch, true 5-point multitouch) by searching for the result of PackageManager # getSystemAvailableFeatures () for the various "android.hardware.touchscreen. *" Functions listed here .
If you want to know exactly how many touches can be present, you just need to watch MotionEvents when they enter.
source
share