Was wondering if there's any way to test Gestures (eg: Fling) on the Emulator.
I saw a project on google code that lets people simulate the accelerometer, but none of Gestures.
Something similar has already been asked here:
Fling gesture detection on grid layout
I can confirm that it works because I implemented an onFling listener following that example
Any gestures that don't require multi-touch should work fine on the emulator. So for example Fling is going to work fine on the emulator, where pinch-zoom is not.
For anyone looking in 2023 here's what I've found:
Hold crtl
to get the multi tap indicator thingy to pop up. Then press and hold your click and drag the mouse. Depending on how you move, rotation and pinch gestures are available.
My five minutes of playing with RNGH makes me believe that it favors rotation gestures over pinch (like any gesture that started off as a pinch ended up switching over to being a rotation). I did have to do some gesture compositions, so its possible I configured them wrong, but in 2023 multitouch gestures are available on Android Studio emulators