[Solved] JSON Parsing Error – String cannot be converted to JSONArray

[ad_1]

In the OnTaskCompleted before

jarray = utils.getJarrayFromString(result);

add a log entry with

Log.i(DEBUG,result);

I am suspecting that you are getting a null value as result

if(result!="")

does not ensure a valid value.
Cheers

1

[ad_2]

solved JSON Parsing Error – String cannot be converted to JSONArray