예제 #1
0
 public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) {
   Log.i(
       LOG_TAG,
       "setMockGeolocationPosition(): "
           + "latitude="
           + latitude
           + " longitude="
           + longitude
           + " accuracy="
           + accuracy);
   MockGeolocation.getInstance().setPosition(latitude, longitude, accuracy);
 }
예제 #2
0
 public void setMockGeolocationError(int code, String message) {
   Log.i(LOG_TAG, "setMockGeolocationError(): " + "code=" + code + " message=" + message);
   MockGeolocation.getInstance().setError(code, message);
 }