i'm using a restful web service which returns data from sql server to my android app, if i get 100 records it works fine but if get 1,000 records my log shows incomplete and broken json.
@Override
public ArrayList<CRM_table> doInBackground(Void... params) {
RestAPI api = new RestAPI();
RestAPI api = new RestAPI();
try {
Log.e( "In background try block","yee");
JSONObject jsonObj = api.GetDoctors(num);
JSONParser parser = new JSONParser();
Log.e( "doc list", jsonObj.toString());
//table = parser.parseCrmTable(jsonObj);
int itemCount = table.size();
Log.d("total records",Integer.toString(itemCount));
} catch (Exception e) {
Log.e( "bg error", e.getMessage());
}
return table;
}