mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Added comment
This commit is contained in:
parent
5df7c231c0
commit
44890bee3d
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue