Refactor Logger and add Settings-UI

- Refactored logger infrastructure, so that sensors have to provide
proper timestamps for the logged data, instead of the Logger generating
a timestamp when it is logged to the file.
- Added a settings UI where active sensors and activities can be
configured
This commit is contained in:
2019-08-18 13:42:18 +02:00
parent daa0652e39
commit a0d46c9aae
34 changed files with 663 additions and 536 deletions

View File

@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '26.0.2'
buildToolsVersion '26.0.3'
defaultConfig {
applicationId "de.fhws.indoor.sensorreadout"
@@ -20,10 +20,13 @@ android {
}
dependencies {
implementation 'com.android.support:design:23.4.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.android.gms:play-services:10.2.0'
implementation 'com.android.support:appcompat-v7:23.4.0'
implementation 'com.google.android.gms:play-services:10.2.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'org.apmem.tools:layouts:1.10@aar'
//compile 'com.google.android.support:wearable:1.3.0'
//compile 'com.google.android.gms:play-services-wearable:8.4.0'
//provided 'com.google.android.wearable:wearable:1.0.0'