Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to transfer images to ftp server in android

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where in my code should i do that...?
 
Tim Moores
Bartender
Posts: 2851
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made some changes in my code where iam trying to implement asynctask






logcat says:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic