25
Mar

Java program to press Android home key using appium

public void pressAndroidMenu(AppiumDriver driver) {
	AndroidDriver androidDriver = (AndroidDriver) driver;
	androidDriver.pressKey(new KeyEvent(AndroidKey.MENU));
}