Use this code snippet of Android in order to access Back&, make a GET call that returns string which you can transform into JSON:
StringBuilder stringBuilder = new StringBuilder();
try {
String authorization = "<< AnonymousToken >>";
HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("AnonymousToken", authorization);
conn.setRequestProperty("Content-Type", "application/json");
conn.connect();
int responseCode = conn.getResponseCode();
if (responseCode == HttpsURLConnection.HTTP_OK) {
String line;
BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));
} else {
Log.d(TAG, "readRemoteJson", conn.getResponseMessage(), false);
return "";
}
} catch (Exception e) {
Log.e(TAG, "readRemoteJson", e.getMessage(), true);
}
return stringBuilder.toString();