Displaying a progress dialog box when copying files

I am working on a type of File Manager application in which I want to show the execution dialog when copying files, I tried to use AsyncTask, but could not do it well, can someone please send me some code corresponding to the script I am working on ..

+3
source share
3 answers

Try this answer , which contains sample code to use ProgressDialogwith AsyncTask.

+2
source

Try reading this article that describes how to use AsyncTask with ProgressDialog.

+2
source

If you have not already done so, you should check this page on the Android developers site. It not only provides javadocs for asynctask, but also explains how to use it.

+1
source

All Articles