I uses to be able to update GPS Coordinates using the below, but it no longer works.
String strLocation = "-81.5812 28.41936";
String strDeviceName = (String)androiddriver.getCapabilities().getCapability("deviceName");
try{Runtime.getRuntime().exec("/Users/"+strAutomationUser+"/Library/Android/sdk/platform-tools//adb -s "+strDeviceName+" emu geo fix "+strLocation);}catch(Exception e){}
Has anyone figure out a method to update Location?
Thanks