android: how can I verify, that device support multitouch?

前端 未结 4 2141
盖世英雄少女心
盖世英雄少女心 2021-01-04 04:19

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 dev

4条回答
  •  [愿得一人]
    2021-01-04 05:00

    A quick example:

    boolean multi = 
    getPackageManager().hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH);
    

提交回复
热议问题