4

I am working on File Manager kind of application in which while copying files i want to show progress dialog,I tried using AsyncTask but couldn't do it well can anyone please send me some code relevent to the scenario i am working on..

Nilesh Tupe
  • 7,419
  • 5
  • 24
  • 30

3 Answers3

2

Try this answer, which contains a code example for using a ProgressDialog with AsyncTask.

Community
  • 1
  • 1
Matthew Willis
  • 44,487
  • 10
  • 97
  • 87
2

Try to read this article, it describes how to use AsyncTask with ProgressDialog.

Vladimir Ivanov
  • 42,109
  • 17
  • 76
  • 102
1

If you haven't already, you should check out this page on the Android developers site. It not only gives the javadocs for asynctask, but it explains how to use it.

jbranchaud
  • 5,679
  • 9
  • 43
  • 69