Testcase with multitouch on Android?
Posted
by makke
on Stack Overflow
See other posts from Stack Overflow
or by makke
Published on 2010-06-03T13:12:00Z
Indexed on
2010/06/03
13:14 UTC
Read the original article
Hit count: 189
The TouchUtils class in the android documentation has functions like drag() [http://developer.android.com/intl/de/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int)], but they do not support multi touch gestures, like a two finger swipe.
Looking at the MotionEvent.obtain() methods, there does not seem to be any way of invoking a "virtual" multi touch event from a testcase.
Anyone has got it working?
© Stack Overflow or respective owner