Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ttt
TTTAndroidClient
Commits
5cd2ac8a
Commit
5cd2ac8a
authored
Apr 01, 2014
by
Thomas Krex
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ImageView' into ImageView
parents
f17f63ef
936abae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
TTTCLient/src/tttclient/services/DownloadService.java
TTTCLient/src/tttclient/services/DownloadService.java
+1
-0
No files found.
TTTCLient/src/tttclient/services/DownloadService.java
View file @
5cd2ac8a
...
@@ -68,6 +68,7 @@ public class DownloadService extends IntentService {
...
@@ -68,6 +68,7 @@ public class DownloadService extends IntentService {
Log
.
d
(
"Donwload Service"
,
"filelength: "
+
fileLength
);
Log
.
d
(
"Donwload Service"
,
"filelength: "
+
fileLength
);
// download the file
// 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
();
File
root
=
android
.
os
.
Environment
.
getExternalStorageDirectory
();
dir
=
new
File
(
root
.
getAbsolutePath
()
+
"/ttt"
);
dir
=
new
File
(
root
.
getAbsolutePath
()
+
"/ttt"
);
if
(
dir
.
exists
()
==
false
)
{
if
(
dir
.
exists
()
==
false
)
{
...
...
Write
Preview
Markdown
is supported
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