diff --git a/TTTCLient/src/tttclient/services/DownloadService.java b/TTTCLient/src/tttclient/services/DownloadService.java index bf5e8c75dbd656abb6172f2b0ccebbe8c37ad839..8d9ba565ea02e53cf8c8a1aaacded85ef6e82666 100644 --- a/TTTCLient/src/tttclient/services/DownloadService.java +++ b/TTTCLient/src/tttclient/services/DownloadService.java @@ -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) {