Commit ee4b704e authored by Dave Griffiths's avatar Dave Griffiths
Browse files

fixed data export on android

parent 02979ce5
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="" <manifest xmlns:android=""
package="foam.symbai" package="foam.symbai"
android:versionCode="3" android:versionCode="4"
android:versionName="1.0"> android:versionName="1.0">
<application android:label="@string/app_name" <application android:label="@string/app_name"
android:icon="@drawable/logo" android:icon="@drawable/logo"
...@@ -1305,8 +1305,8 @@ ...@@ -1305,8 +1305,8 @@
(cons (cons
(http-download (http-download
(string-append "getting-" e) (string-append "getting-" e)
(string-append url "fn=entity-csv&table=stream&type=" e) (string-append url "fn=entity-csv&table=sync&type=" e)
(string-append "/sdcard/mongoose/" e ".csv")) (string-append "/sdcard/symbai/" e ".csv"))
r)) r))
(list (list
(http-download (http-download
...@@ -1322,7 +1322,7 @@ ...@@ -1322,7 +1322,7 @@
(list (list
(send-mail (send-mail
"" ""
"From Symbai" "Please find attached your mongoose data" "From Symbai" "Please find attached your data"
(cons (cons
"/sdcard/symbai/symbai.db" "/sdcard/symbai/symbai.db"
(map (map
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 to comment