104105106107108109110
} @Override public void onError(PositionError error) { text.setHTML("Error<br/>code:" + error.getCode() + "<br/>message: " + error.getMessage()); } }, new Options().frequency(100).enableHighAccuracy(true).timeout(1000).maximumAge(1000)); }