can anyone tell how to implement progressbar in andriod,
iam selecting an image den while uploading i want a progress bar to check if it is loaded successfully
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
This seems quite clear, no?
Next time, please post only the operative code - not anything that's commented out- and only a relevant logcat excerpt that shows the output related to your app. Nobody is going to try and look through 1000 lines of something.
i am passing string in doinbackground() and my ftp storefile() returns boolean which is used to store image to server..little confused with that.
please suggest
still the image is not getting uploaded...im wondering if running in a different thread really solving the problem of not uploading the whole image to the server.