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
citizen-science
symbai
Commits
96bd706f
Commit
96bd706f
authored
Jul 09, 2014
by
Dave Griffiths
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
paranoid backup mode
parent
c2181df9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
android/assets/starwisp.scm
android/assets/starwisp.scm
+5
-0
android/src/foam/symbai/starwisp.java
android/src/foam/symbai/starwisp.java
+2
-0
No files found.
android/assets/starwisp.scm
View file @
96bd706f
...
...
@@ -1806,6 +1806,11 @@
"getting-db"
"http://192.168.2.1:8889/symbai.db"
(
string-append
"/sdcard/symbai/symbai.db"
))
;; save paranoid backup
(
http-download
"getting-db"
"http://192.168.2.1:8889/symbai.db"
(
string-append
"/sdcard/symbai/backup/symbai-"
(
date-time->string
(
date-time
))
".db"
))
(
http-download
"getting-log"
"http://192.168.2.1:8889/log.txt"
...
...
android/src/foam/symbai/starwisp.java
View file @
96bd706f
...
...
@@ -96,6 +96,8 @@ public class starwisp extends StarwispActivity
File
filesdir
=
new
File
(
m_AppDir
+
"/files/"
);
filesdir
.
mkdirs
();
File
backupdir
=
new
File
(
m_AppDir
+
"/backup/"
);
backupdir
.
mkdirs
();
// build static things
m_Scheme
=
new
Scheme
(
this
);
...
...
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