I created an app in android that enables the user to compress/decompress a file. I need to show a ProgressDialog
to show the progress while compressing/decompressing a file. I know how to do the ProgressDialog
, but I do not know how will I display the current progress or what will I put inside the publishProgress(code here)
. My problem is similar to this one:
Download a file with Android, and showing the progress in a ProgressDialog
But the link refers for downloading a file but what I need is for compressing/decompressing file. Thanks!