title: Swipe images through appium-android and to zoom
body: <p>I started learning appium a few days back. Below is my scenario :</p>
  
  <ol>
  <li>open the flipkart</li>
  <li>Click on main menu</li>
  <li>scroll till mobiles</li>
  <li>click on mobiles</li>
  <li>click on specific mobile</li>
  <li>click on mobile image and swipe between images</li>
  <li>zoom the image.</li>
  </ol>
  
  <p>Below is the code I implemented for above scenario :</p>
  
  <pre><code>driver.findElement(By.className(properties.getProperty("home_menu_className"))).click();
      System.out.println("clicked on home menu");
      driver.findElement(By.className(properties.getProperty("home_menu_className"))).click();
      WebElement mobile = driver.scrollTo("Mobiles");
      System.out.println("scroll till Mobiles in home slider menu");
      mobile.click();
      driver.scrollTo("Top Offers!!").click();
      driver.scrollTo("Honor 4x").click();
      delay(4000);
      WebElement honor = driver.findElementById("com.flipkart.android:id/product_list_product_item_image");
      taction.tap(honor);
      driver.swipe(495,484, 52, 484, 12000);
      delay(12000);
      driver.zoom(164, 644);
      delay(8000);
  </code></pre>
  
  <p>When I run above code,  displays swipe action with x-axis and y-axis on the same page from right to left.And it doesn't swipe between images and doesn't zoom.</p>
  
  <p>Please can anyone tell me the exact way of doing it ?</p>
  
  <p>Thanks in advance.</p>