Added settings for data update period, mute period and manual alarm period. Altered fault timer so app does not alarm for long data periods.

This commit is contained in:
Graham Jones
2016-02-17 20:49:24 +00:00
parent f7661871ed
commit 2769094326
5 changed files with 84 additions and 7 deletions

View File

@@ -1,7 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="User Interface Settings">
<EditTextPreference
android:defaultValue="5"
android:key="DataUpdatePeriod"
android:summary="Time period at which data is sent to the phone."
android:title="Data Period (sec)" />
<EditTextPreference
android:defaultValue="300"
android:key="MutePeriod"
android:summary="Time that alarms are muted following a long press of the UP button"
android:title="Mute Period (sec)" />
<EditTextPreference
android:defaultValue="30"
android:key="ManAlarmPeriod"
android:summary="Time that manual alarms sound following a long press of the DOWN button"
android:title="Manual Alarm Period (sec)" />
</PreferenceCategory>
<PreferenceCategory android:title="Seizure Detector Settings">
<EditTextPreference
android:defaultValue="5"