From 92f4c37fac86200f0fb5cc1d1d354d551a0d9e6a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 2 Jul 2016 23:58:57 +0200 Subject: [PATCH] careportal --- .idea/inspectionProfiles/Project_Default.xml | 1 + .idea/misc.xml | 2 +- app/build.gradle | 12 +- .../info/nightscout/androidaps/Config.java | 1 + .../nightscout/androidaps/MainActivity.java | 34 +- .../androidaps/PreferencesActivity.java | 2 + .../androidaps/Services/DataService.java | 6 +- .../nightscout/androidaps/db/Treatment.java | 7 +- .../Careportal/CareportalFragment.java | 220 ++++++ .../Dialogs/NewNSTreatmentDialog.java | 549 +++++++++++++++ .../ConfigBuilder/ConfigBuilderFragment.java | 26 +- .../androidaps/plugins/Loop/DeviceStatus.java | 7 +- .../plugins/OpenAPSMA/OpenAPSMAFragment.java | 2 +- .../Overview/Dialogs/NewTreatmentDialog.java | 4 +- .../Overview/Dialogs/WizardDialog.java | 8 +- .../info/nightscout/client/data/DbLogger.java | 30 + .../nightscout/client/data/NSProfile.java | 22 + .../nightscout/utils/PlusMinusEditText.java | 7 +- .../main/res/layout/careportal_fragment.xml | 202 ++++++ .../careportal_newnstreatment_dialog.xml | 632 ++++++++++++++++++ app/src/main/res/values/strings.xml | 40 ++ app/src/main/res/xml/pref_careportal.xml | 13 + 22 files changed, 1766 insertions(+), 61 deletions(-) create mode 100644 app/src/main/java/info/nightscout/androidaps/plugins/Careportal/CareportalFragment.java create mode 100644 app/src/main/java/info/nightscout/androidaps/plugins/Careportal/Dialogs/NewNSTreatmentDialog.java create mode 100644 app/src/main/java/info/nightscout/client/data/DbLogger.java create mode 100644 app/src/main/res/layout/careportal_fragment.xml create mode 100644 app/src/main/res/layout/careportal_newnstreatment_dialog.xml create mode 100644 app/src/main/res/xml/pref_careportal.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 1943c85e5f..ffba1be639 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -3,5 +3,6 @@