小编mak*_*kke的帖子

在Android上使用多点触控的测试用例?

android文档中的TouchUtils类具有以下功能drag():

https://developer.android.com/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int)

但它们不支持多点触控手势,例如双指滑动.

看看这些MotionEvent.obtain()方法,似乎没有任何方法可以从测试用例中调用"虚拟"多点触摸事件.

有人有工作吗?

testing android multi-touch

5
推荐指数
1
解决办法
421
查看次数

标签 统计

android ×1

multi-touch ×1

testing ×1