I'm writing program to download large size of file (~ 280 MB) from a remote server. Downloading process working perfectly although it takes lot of time. Then I used a ProgressDialog
to show the current state of the downloading process. It is also perfectly working for small size file downloading. "perfect" in the sense, showing the downloaded amount as a percentage and 100% download. But that is not working for that big file size downloading.
The issue is, it shows the progress till 7% and then start counting the progress again. But in the background, downloading is happening normally.
I can't figure out what/where is the mistake. Because the same code working for small size files. Can anybody please give me a clue?
Thank you