Android monkey runner: Touch with MOVE -


i trying use monkeyrunner simulate complex touch events. swipe b with...

device.drag((300,500),(300,650),0.5,50) 

works great complex movement b c doesn't work trying that

device.touch(100,500, 'down') device.touch(300,500, 'move') device.touch(300,400, 'move') device.touch(300,400, 'up') 

was seaching solution , found this.. https://android-review.googlesource.com/#/c/50991/

is implemenet in offical android sdk? or did have compile or else , how works?

i dont know think side official monkeyrunner source.. monkeydevice.java , 1 have "move" type on line 70. touchaction.java on same side @ line 28 have no "move" implemented. maybe that's reason why it's not working.

can tell me how complex touch movement on android phone?

yes, merged official sdk tools now. can use it. care delay between move , move.

here link sample code you. have tested code on galaxy nexus.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -