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
Result is null, apparently. Or it simply does not start with [. Print it out before calling JSONArray to see.
[
Also take a look at the JSONArray source. It is expecting JavaScript array syntax, e.g.:
['this', 'is', 'array', 'syntax']