Is there anyway to lock genymotion emulator?
To test new notifications in Android 5.0, lollipop, I need to lock the Genymotion.
Thank you!
Is there anyway to lock genymotion emulator?
To test new notifications in Android 5.0, lollipop, I need to lock the Genymotion.
Thank you!
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.
go to settings>security>screen lock
and set it to swipe
. then press the power button twice.
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.
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.