From 17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 11 Jan 2015 12:28:55 +0100 Subject: o Reading values from the soil sensor. o Rewrote the database schema to match the new device+sensors model. o Storing samples in the database. o To be able to reuse BT callbacks, added a way to always to directly to the next step instead of waiting for an event. --- app/src/main/res/layout/fragment_device.xml | 40 +++++++++++++++++ app/src/main/res/layout/fragment_gauge.xml | 24 ----------- app/src/main/res/layout/fragment_sensor.xml | 21 +++++++++ app/src/main/res/layout/listitem_device.xml | 67 ----------------------------- 4 files changed, 61 insertions(+), 91 deletions(-) create mode 100644 app/src/main/res/layout/fragment_device.xml delete mode 100644 app/src/main/res/layout/fragment_gauge.xml create mode 100644 app/src/main/res/layout/fragment_sensor.xml delete mode 100644 app/src/main/res/layout/listitem_device.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/fragment_device.xml b/app/src/main/res/layout/fragment_device.xml new file mode 100644 index 0000000..e6a2f25 --- /dev/null +++ b/app/src/main/res/layout/fragment_device.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/layout/fragment_gauge.xml b/app/src/main/res/layout/fragment_gauge.xml deleted file mode 100644 index ff1df86..0000000 --- a/app/src/main/res/layout/fragment_gauge.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_sensor.xml b/app/src/main/res/layout/fragment_sensor.xml new file mode 100644 index 0000000..82d0d77 --- /dev/null +++ b/app/src/main/res/layout/fragment_sensor.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/app/src/main/res/layout/listitem_device.xml b/app/src/main/res/layout/listitem_device.xml deleted file mode 100644 index 44021d9..0000000 --- a/app/src/main/res/layout/listitem_device.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - -