Added experimental support for fall detection, with ability to change fall detection settings from android app.

This commit is contained in:
Graham Jones
2015-11-10 18:14:51 +00:00
parent 6879f1a116
commit eec87aedd7
3 changed files with 87 additions and 12 deletions

View File

@@ -84,6 +84,28 @@
android:summary="Alarm Ratio Threshold (Default = 30)"
android:defaultValue="30" />
<CheckBoxPreference
android:key="FallActive"
android:title="Activate Fall Detection Function"
android:summary=""
android:defaultValue="false" />
<EditTextPreference
android:key="FallThreshMin"
android:title="Fall Detection Lower Threshold (milli-g)"
android:summary=""
android:defaultValue="200" />
<EditTextPreference
android:key="FallThreshMax"
android:title="Fall Detection Upper Threshold (milli-g)"
android:summary=""
android:defaultValue="1200" />
<EditTextPreference
android:key="FallWindow"
android:title="Fall Detection Window (milli-seconds)"
android:summary=""
android:defaultValue="1500" />
<EditTextPreference
android:key="AppRestartTimeout"