简体   繁体   中英

Showing progress dialog box while copying files

我正在处理文件管理器类应用程序,其中在复制文件时我想显示进度对话框,我尝试使用AsyncTask但不能做得好,任何人都可以发送一些代码相关我正在工作的场景..

试试这个答案 ,其中包含使用AsyncTaskProgressDialog的代码示例。

尝试读取这个文章,它介绍了如何使用的AsyncTask与ProgressDialog。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM