Tuesday, October 23, 2012

Android emulator unlock screen

This article provides the method to unlock the Android emulator screen programmatically. This would be handy when an android application is automated using selenium android web driver (or) "monkeyrunner" kind of tools.

Android debug bridge (adb) can be leveraged to perform this. adb commands can be invoked directly from the automation source code.

This adb command unlocks the android emulator.

C:\android_sdk\platform-tools\adb shell input keyevent 82


Post a Comment

Contact Form


Email *

Message *

Back to Top