How to lock genymotion?

一曲冷凌霜 提交于 2019-12-10 16:05:54

问题


Is there anyway to lock genymotion emulator?

To test new notifications in Android 5.0, lollipop, I need to lock the Genymotion.

Thank you!


回答1:


The question turns out to be useless. I would delete this, but I am not allowed to do so because, this question already has an answer.

Sorry

I just had to click on power button twice.




回答2:


go to settings>security>screen lock and set it to swipe. then press the power button twice.




回答3:


Try: adb shell input keyevent 26. That should emulate a power button press. See this for more information. Of course you need to do adb connect [device id] first.




回答4:


It's quite simple.

Just press the power button twice in genymotion to lock the screen of emulator.
You can also lock the Android Emulator in same way by just clicking the power button twice.



来源:https://stackoverflow.com/questions/29292060/how-to-lock-genymotion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!