My phone APP downloads content perfectly in a text mode. Below is a code to do that. I call Communicator class and exectueHttpGet:
URL_Data = new Communicator(
use org.json.JSONObject as in
JSONObject json = new JSONObject(oage);
thing to watch out for is when the response is simply "true" or "false." probably want to create a util function that checks for those cases, otherwise just load up the JSONObject.
ok in this case you would use a JSONArray
JSONArray jsonArray = new JSONArray(page);
for (int i = 0; i < jsonArray.length(); ++i) {
JSONObject element = jsonArray.getJSONObject(i);
.....
}