Commit 936abae8 by Thomas Krex

Update DownloadService.java

link für bessere Datenverwaltung hinzugefügt
parent 2ebf2bec
......@@ -68,6 +68,7 @@ public class DownloadService extends IntentService {
Log.d("Donwload Service", "filelength: " + fileLength);
// download the file
// link for better file strorage https://www.grokkingandroid.com/how-to-correctly-store-app-specific-files-in-android/
File root = android.os.Environment.getExternalStorageDirectory();
dir = new File(root.getAbsolutePath() + "/ttt");
if (dir.exists() == false) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment