Just wondering what that error could mean? I get it from the following code..
try{ JSONArray jArray = new JSONArray(result); for(int i=0;i
text.trim(); text.trim();
Text is the json file or string , do this at least two times one after another will resolve the problem 99.9%.