Added comment

This commit is contained in:
misaochan 2015-12-22 16:53:46 +13:00
parent 5df7c231c0
commit 44890bee3d
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ import java.util.ArrayList;
import java.util.Collection;
public class APICalls {
private static RequestQueue REQUEST_QUEUE;
private static final Gson GSON = new Gson();
private Context context;

View file

@ -184,12 +184,12 @@ public class ShareActivity
String coords = imageObj.getCoords();
Log.d("Image", "Coords of image: " + coords);
//build URL for MediaWiki API calls
//build URL with image coords for MediaWiki API calls
String apiUrl = UrlBuilder.buildUrl(coords);
Log.d("Image", "URL: " + apiUrl);
//TODO: Call request() method of APICalls
//asynchronous calls to MediaWiki Commons API to match image coords with nearby Commons categories
APICalls apiCall = new APICalls(this);
apiCall.request(apiUrl);