Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ttt
TTTAndroidJoinedClient
Commits
936abae8
Commit
936abae8
authored
Apr 01, 2014
by
Thomas Krex
Browse files
Update DownloadService.java
link für bessere Datenverwaltung hinzugefügt
parent
2ebf2bec
Changes
1
Hide whitespace changes
Inline
Side-by-side
TTTCLient/src/tttclient/services/DownloadService.java
View file @
936abae8
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment