how can I use a determinate progressbar during the unzip process in a Android Application?
I know what I need to file has been processed to update the progressbar, but do not know how to derive this information.
Thank you!
P.S. I use to unzip the code found in this post: https://stackoverflow.com/a/7697493/1364296
how can I use a determinate progressbar during the unzip process in a Android Application?
Use ZipFile
to find the number of entries. Use that with setMax()
on your ProgressBar
to set the upper progress bound. Then, as you process each file, increment the progress by 1.