The entire upload should be handled in the AsyncTask. I suggest to start by getting AsyncTask to work in general (maybe in some other toy app of yours that you know to work correctly) before you start using it in this app.
Joined: Feb 10, 2012
i have made some changes in my code where iam trying to implement asynctask
subject: how to transfer images to ftp server in android