Advice about AsyncTask -


i´m new android , need advice asyntask topic. i´ve app write information , using asynctask send sap system (backend) using httpurlconnection. i´m going write second asyntask send photo using ftp protocol server.

so i´ve going have 2 asyntask 1 data sap , ftp server send photo.

i have listview several lines of information, each row want use first asyntask , if it´s ok, use second asyntask.

when first row processed (with ok or wrong finish), want start first asyntask , second asyntask , go on...

so how can ????

somethin this:

http://shamansir.github.io/blog/articles/10-useful-solutions-for-android-developer/

(point 9. asynctask queues )

http://blogs.innovationm.com/multiple-asynctask-in-android/

can chain async task sequentially (starting 1 after previous asynctask completes)

any advice ????

thansk in advance

you can call asynctask onpostexecute. called after first 1 has finished, , call made ui thread.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -