Skip to content

Instantly share code, notes, and snippets.

View droidchief's full-sized avatar
🦾
...learning...building

Victor Loveday droidchief

🦾
...learning...building
View GitHub Profile
@droidchief
droidchief / AsyncTask.java
Created September 20, 2021 14:57 — forked from dynoChris/AsyncTask.java
How to download file to Internal Storage in Android
//in async task
//usage
// DownloadVideoAsyncTask async = new DownloadVideoAsyncTask(this);
// async.execute("www.site.com/idvideo.mp4");
public class DownloadVideoAsyncTask extends AsyncTask<String, Integer, String> {
private Context mContext;