开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜