5

Is there anyway to lock genymotion emulator?

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

Thank you!

Nabin
  • 11,216
  • 8
  • 63
  • 98

4 Answers4

11

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.

enter image description here

Nabin
  • 11,216
  • 8
  • 63
  • 98
6

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

Devolus
  • 21,661
  • 13
  • 66
  • 113
Alex Batts
  • 69
  • 1
  • 5
1

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.

Community
  • 1
  • 1
TameHog
  • 950
  • 11
  • 23
1

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.

Nikhil
  • 1,212
  • 13
  • 30