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
Post a Comment