org.android.activityminer.app.util
Class CopyFileTask
java.lang.Object
android.os.AsyncTask<File,Integer,Long>
org.android.activityminer.app.util.CopyFileTask
public class CopyFileTask
- extends AsyncTask<File,Integer,Long>
Asynchronous task to copy files and display progress meanwhile.
Methods inherited from class android.os.AsyncTask |
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, onCancelled, onProgressUpdate, publishProgress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
progressDialog
private ProgressDialog progressDialog
- The progress dialog.
context
private Context context
- The context
CopyFileTask
public CopyFileTask(Context context)
- Constructor
- Parameters:
context
- the context
onPreExecute
protected void onPreExecute()
- Overrides:
onPreExecute
in class AsyncTask<File,Integer,Long>
onPostExecute
protected final void onPostExecute(Long result)
- Overrides:
onPostExecute
in class AsyncTask<File,Integer,Long>
doInBackground
protected Long doInBackground(File... params)
- Specified by:
doInBackground
in class AsyncTask<File,Integer,Long>