This is the link to my webserivce please check out https://drive.google.com/open?id=0BwCPG2lI_UeCcXlLUGhibTJEdWs
this is image of the android code android code
please help me
This is the link to my webserivce please check out https://drive.google.com/open?id=0BwCPG2lI_UeCcXlLUGhibTJEdWs
this is image of the android code android code
please help me
at first you should send JSONArray
Data inside JSONObject
then via below codes get and set your list
public void onResponse(String response) {
try {
JSONObject responseJsonObject = new JSONObject(response);
JSONArray arrayJsonObject = responseJsonObject.getJSONArray("items");
for (int i = 0; i < arrayJsonObject.length(); i++) {
JSONObject jsonObject = arrayJsonObject.getJSONObject(i);
//Or do somthing with Array Datas
}
}
}
if your array not have name :
JSONArray jsonArray = new JSONArray(String_Result);