Been playing with android geofences but testing is becoming an issue. I need to mock the device location in order to trigger the enter/leave events but so far I am unable to find a way to do this.
In the documentation of the LocationClient there are two methods that seem to do what I need:
but I cannot compile any project with those methods as the compiler complains these symbols do not exists:
SujGeoService2.java:296: error: cannot find symbol
mLocClient.setMockMode(true);
^
symbol: method setMockMode(boolean)
location: variable mLocClient of type LocationClient
Update to latest google-play-services (revision 12 now) from the Android SDK Manager and it will works fine.