View Full Version : How to Kill Blocked AsyncTask Read??

03-09-2012, 10:23 PM
How can an AsyncTask be killed if it blocks during a failed read (of a wifi device via TCP)? The app works fine for awhile, but will then randomly block. (The reads are in an AsyncTask, so they don't block the entire app, but I would like to terminate the read-task and send the device another read command, i.e. restart the AsyncTask.) Thanks for any ideas. L.