Subversion Repository Public Repository

Nextrek

Diff Revisions 524 vs 525 for /Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/Controller/FullInfoFragment.java

Diff revisions: vs.
  @@ -23,6 +23,7 @@
23 23 import android.widget.ScrollView;
24 24 import android.widget.TextView;
25 25
26 + import it.fedeloper.smartcharging.Service.EndPoint;
26 27 import it.fedeloper.smartcharging.Service.HttpClient;
27 28 import it.fedeloper.smartcharging.R;
28 29 import it.fedeloper.smartcharging.Manager.Utils;
  @@ -89,7 +90,7 @@
89 90
90 91 obj.put("id", idlocale);
91 92 obj.put("type", "local");
92 - final JSONObject resp = HttpClient.SendHttpPostAsync("http://svm19842.vps.tagadab.it:8084/smartcharging" + MainActivity.path + "/get_immagini.php", obj);
93 + final JSONObject resp = HttpClient.SendHttpPostAsync(EndPoint.MAIN_END_POINT + "/get_immagini.php", obj);
93 94
94 95 Log.e("errore", resp.toString());
95 96 final JSONArray jArray = resp.getJSONArray("imgs");
  @@ -168,7 +169,7 @@
168 169 obj.put("startIndex", "0");
169 170 obj.put("length", "10");
170 171
171 - final JSONObject resp = HttpClient.SendHttpPostAsync("http://svm19842.vps.tagadab.it:8084/smartcharging" + MainActivity.path + "/get_commenti.php", obj);
172 + final JSONObject resp = HttpClient.SendHttpPostAsync(EndPoint.MAIN_END_POINT + "/get_commenti.php", obj);
172 173
173 174 Log.e("errore resp", resp.toString());
174 175 final JSONArray jArray = resp.getJSONArray("comments");