X-Git-Url: https://git.gumartinm.name/?a=blobdiff_plain;f=source%2FJavaUpdateLocation.java;fp=source%2FJavaUpdateLocation.java;h=8af5086924fefe5a06c0b48e7cc79de89865051f;hb=e995ec539c8be249c7f9a6bbb6917ff7c9f2e1f3;hp=1624330019c21a253c366755b2324fa9caffa3bb;hpb=ab1fb89b30889e5de74f16efa5593c9d1fcf6905;p=PFCLatex%2F.git diff --git a/source/JavaUpdateLocation.java b/source/JavaUpdateLocation.java index 1624330..8af5086 100644 --- a/source/JavaUpdateLocation.java +++ b/source/JavaUpdateLocation.java @@ -1,10 +1,7 @@ public void makeUseOfNewLocation(Location loc) { - final String latitude = Double.toString(loc.getLatitude()); final String longitude = Double.toString(loc.getLongitude()); - //RESTful WebService - final String URLAuth = urlServer + latitudeReplace + "/" + longitudeReplace + "/gpsads.json"; + final String URLAuth = urlServer + latitude + "/" + longitude + "/gpsads.json"; URL url = new URL(URLAuth); - this.exec.execute(new Batch(url)); }