Android UIAutomator how to tilt device -


is there anyway perform tilt action using uiautomator android? looked @ uiautomatorapi unable find direct method.

there methods change device orientation. assume want. try:

getuidevice().setorientationright(); getuidevice().setorientationleft(); getuidevice().setorientationnatural(); 

for more details on how use them can access link: auiautomator uidevice


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 -