Hi @Appium_Master ,
Appium version: 1.3.4.1
Code:
((AndroidDriver)driver).context(“NATIVE_APP”);
Thread.sleep(1000);
((AndroidDriver)driver).scrollTo(val).click(); //the control moves past “val”, after scrolling to desired element
((AndroidDriver)driver).findElementByXPath("//android.widget.GridView/android.view.View["+rowno+"]//android.widget.Image[1]").click();
Thread.sleep(2000);
((AndroidDriver)driver).context(“WEBVIEW”);
Thread.sleep(1000);