Skip to content Skip to sidebar Skip to footer

Progress Bar Not Update Where Upload Multipart

I have code to upload using multipart like this , in this code I have add progress bar protected String doInBackground(String... args) { namapro = inputtitle.getText()

Solution 1:

How large (in bytes) is the data you're uploading? It may be so small that the progress listener only gets called once: when it's finished.

Solution 2:

Your totalSize is probably 0, try to log that out in your publishProgress

Also try to log this totalSize = reqEntity.getContentLength();

Post a Comment for "Progress Bar Not Update Where Upload Multipart"