First go at generating broadcasts to request openseizuredetector Dialler to generate phone call alerts.
This commit is contained in:
@@ -46,6 +46,12 @@
|
||||
android:showAsAction="never|withText"
|
||||
android:title="@string/test_sms_alarm_notification" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_test_phone_alarm"
|
||||
android:icon="@drawable/stop_server"
|
||||
android:showAsAction="never|withText"
|
||||
android:title="@string/test_phone_alarm_notification" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_logmanager"
|
||||
android:icon="@drawable/ic_action_settings"
|
||||
|
||||
@@ -139,5 +139,8 @@
|
||||
<string name="send_sms_last_location">Send SMS - last location is </string>
|
||||
<string name="failed_to_send_sms">ERROR: FAILED TO SEND SMS MESSAGE</string>
|
||||
<string name="sms_alarms_disabled">SMS Alarms Disabled - not doing anything!</string>
|
||||
<string name="phone_alarm_disabled">Phone Alarm Disabled</string>
|
||||
<string name="test_phone_alarm_notification">Test Phone Alarm</string>
|
||||
<string name="DiallerNotInstalledWarning"><a href="https://github.com/OpenSeizureDetector/Dialler/tree/master/app/release/app-release.apk">OpenSeizureDetector Dialer App</a> Not installed - Required for Phone Call Alerts.</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -62,6 +62,14 @@
|
||||
android:title="SMS Message" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Phone Call Alarm Settings">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="PhoneCallAlarm"
|
||||
android:summary="Dial the Carer(s) phone number(s) as well as sending SMS alerts. It requests an external application (OpenSeizureDetector Dialler) to make the phone calls to the same numbers as are set for SMS alerts above"
|
||||
android:title="Enable Phone Call Alarm" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Alarm Logging">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
|
||||
Reference in New Issue
Block a user