• Post Reply Bookmark Topic Watch Topic
  • New Topic

Progress bar setProgress do not update Progress

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I want to download a file from server and while downloading I want to show progress bar to display downloading pogress. I thought this is pretty much simple. But I am facing strange problem. Progress bar's setProgress method do not show the updated view of progress.

Below is my xml file


Below is my java code...



ANd on click of a button I am starting the downloading...



It download's the file. But do not update the progress. Please Help...

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!