Some changes in Java code chapter 6.
[PFCLatex/.git] / source / JavaUpdateLocation.java
1 public void makeUseOfNewLocation(Location loc) {
2     final String latitude = String.valueOf(location.getLatitude());
3     final String longitude = String.valueOf(location.getLongitude());
4     final String URLAuth = urlServer + latitude + "/" + longitude + "/gpsads.json";
5     URL url = new URL(URLAuth);
6     this.exec.execute(new Batch(url));
7 }