I am using system("adb shell input keyevent KEYCODE_HOME") to simulate the home button in calabash-android, my test fails for my next step.As per my app functionality when the relaunch the app from the background it displays with the pin screen,which i am not able to get it with the KEYCODE_HOME. However it works with the KEYCODE_BACK.
Please help me out for the simulation for the home button.