Does anyone know how to lock the screen using monkeyrunner?
I am trying to lock the screen using monkeyrunner开发者_JAVA百科. Please help me out.
Thanks
try below code:-
device.press('KEYCODE_POWER',MonkeyDevice.DOWN_AND_UP)
press power button of emulator using monkeyRunner, and press
精彩评论