Writing the chapter 6
[PFCLatex/.git] / source / JavaUpdateLocation.java
1 public void makeUseOfNewLocation(Location loc) {
2         
3     final String latitude = Double.toString(loc.getLatitude());
4     final String longitude = Double.toString(loc.getLongitude());
5     //RESTful WebService
6     final String URLAuth = urlServer + latitudeReplace + "/" + longitudeReplace + "/gpsads.json";
7     URL url = new URL(URLAuth);
8     
9     this.exec.execute(new Batch(url));
10 }