android - Grab return value of asynctask? -
is possible grab return value of doinbackground()-method?
jsonarray response = new supportfunctions.executeurlwithresponse().execute(url); it tells me:
description resource path location type type mismatch: cannot convert asynctask<string,void,jsonarray> jsonarray contactfunctions.java /buddycheck/src/com/pthuermer/buddycheck line 138 java problem something this?
is possible grab return value of doinbackground()-method?
not in manner trying.
there get() method can call block current thread , wait asynchronous work complete. not want -- want work done asynchronously (otherwise, why have asynctask?).
move code needs jsonarray response either onpostexecute() or other method executed onpostexecute().
Comments
Post a Comment