Test version with multi-touch on Android?

The TouchUtils class in the documentation for Android has features such as drag():

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

but they do not support multi-touch gestures, such as two fingers.

Looking at the methods MotionEvent.obtain(), there seems to be no way to trigger a “virtual” event with a few touches from the test table.

Does anyone have a job?

+5
source share
1 answer

-, , MotionEvent.obtainNano(), . , .

+2

All Articles