Android multi-touch feature (up to 6 touches)

╄→尐↘猪︶ㄣ 提交于 2019-12-24 20:37:48

问题


I want to know if it is possible to make an android application that features up to 6 touches simultaneously with the multi-touch option (not just two). Please can u help me to find some relevant literature. I've found some answers here on stackoverflow, but i am afraid that that's not enough.

I would appreciate every help. Thank you all in advance.


回答1:


Devices that support "jazzhands" will handle up to 10 simultaneous touches. Your app can require jazzhands support via the following manifest element:

<uses-feature android:name="android.hardware.touchscreen.multitouch.jazzhand" />

Not all devices will support this -- for example, the Kindle Fire only supports two simultaneous touches IIRC.




回答2:


There is no software difference between 2 or 6 touches (except for the permission), it is hardware related and if you can't use more of 2 fingers then you should try on another device.

Anyway, if you want good multitouch litterature, have a look here:

Making sense of multitouch (android-developers.blogspot.fr)



来源:https://stackoverflow.com/questions/11346882/android-multi-touch-feature-up-to-6-touches

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!