title: How can I navigate to home screen by clicking home button in appium while automatiing Android app?
body: <blockquote>
    <p>In one test cases I used this</p>
  </blockquote>
  
  <pre><code>@Test
  public void Test1()
  {
      driver.launchApp();
      System.out.println("this is First test in appium suite");
      ((AppiumDriver) driver).sendKeyEvent(AndroidKeyCode.HOME); // This line of code gives error.
  }
  </code></pre>