Improving the look
[PFCLatex/.git] / source / JavaHTTPJSONtreatment.java
index c448934..e796c74 100644 (file)
@@ -1,12 +1,11 @@
 JSONTokener tokener = new JSONTokener(builder.toString());
 JSONArray finalResult = new JSONArray(tokener);
 Uri uriInsert = null;
-
 for (int i = 0; i < (finalResult.length() -1); i++) {
     JSONObject objects = finalResult.getJSONObject(i);
     if ((uriInsert = updatedIndexer(objects)) != null) {
         try {
-            downloadAds((String)objects.get("image"), (String) objects.get("id"));
+            downloadImage((String)objects.get("image"), (String) objects.get("id"));
             Intent updateList = new Intent("de.android.mobiads.MOBIADSLISTRECEIVER");
             context.sendBroadcast(updateList);
             updateNotification();