ruby - Calabash -Android: Can we simulate Home button on Android devices for Calabash-Android? -


can simulate home button on android devices calabash-android? need tap on home button in our scripts execute scripts using calabash.

i have not tried yet myself. looking around solution did find this.

link http://krazyrobot.com/2014/02/calabash-android-enter-text-from-keyboard-using-adb/ balazs balazs aka krazyrobot

his solution use send keycodes, home button keycode_home. wrapping calabash give you:

system("adb shell input keyevent keycode_home")

again have not tried this, sounds solution.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -