From 254afafa3e2108180ec076bc20fe70ddf52a08be Mon Sep 17 00:00:00 2001 From: Felix Konstantin Maurer Date: Thu, 4 Jan 2018 15:13:06 +0100 Subject: [PATCH] First try at periodic db export --- app/src/main/AndroidManifest.xml | 6 ++ .../activities/SettingsActivity.java | 84 +++++++++++++++++-- .../gadgetbridge/database/DBHelper.java | 12 +++ .../database/PeriodicExporter.java | 64 ++++++++++++++ .../gadgetbridge/util/FileUtils.java | 24 ++++++ .../res/layout/activity_db_management.xml | 15 +++- app/src/main/res/xml/preferences.xml | 26 ++++++ 7 files changed, 219 insertions(+), 12 deletions(-) create mode 100644 app/src/main/java/nodomain/freeyourgadget/gadgetbridge/database/PeriodicExporter.java diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 02e22788f..d884986ec 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -345,6 +345,12 @@ + + +