diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b90a9c..d54cb55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ V3.2.0 - (NEXT VERSION!) - Added neural network based data analysis. + V3.1.4 - 25apr2019 + - Added a periodic 'Beep' during the SMS timer to alert the user that an SMS is about to be sent. + V3.1.3 - 22apr2019 - Moved the SmsTimer creation to the UI thread to avoid a ...looper.prepare() error. diff --git a/app/release/app-release-3.1.4.apk b/app/release/app-release-3.1.4.apk new file mode 100644 index 0000000..028cc43 Binary files /dev/null and b/app/release/app-release-3.1.4.apk differ diff --git a/app/release/output.json b/app/release/output.json index 4cfbbd9..bfcd197 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":57,"versionName":"3.1.3","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":58,"versionName":"3.1.4","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9e61bcb..567fe1c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ diff --git a/app/src/main/java/uk/org/openseizuredetector/SdServer.java b/app/src/main/java/uk/org/openseizuredetector/SdServer.java index 42fafa2..02e734b 100644 --- a/app/src/main/java/uk/org/openseizuredetector/SdServer.java +++ b/app/src/main/java/uk/org/openseizuredetector/SdServer.java @@ -1141,9 +1141,9 @@ public class SdServer extends Service implements SdDataReceiver { @Override public void onTick(long timeRemaining) { Log.v(TAG, "SmsTimer.onTick() - time remaining = " + timeRemaining / 1000 + " sec"); - // FIXME - Update the alert dialog to show the time remaining, and beep. - // alertDialog.setMessage("SMS Will be sent in "+ (timeRemaining/1000)+" s unless Cancel Button is Pressed First."); + // The MainActivity screen picks up mTimeLeft to update the screen. mTimeLeft = timeRemaining; + alarmBeep(); } /** diff --git a/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java b/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java index 36aec74..09dbeda 100644 --- a/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java +++ b/app/src/main/java/uk/org/openseizuredetector/StartupActivity.java @@ -502,7 +502,8 @@ public class StartupActivity extends Activity { + "so I can get in touch if necessary.\nThank you! Graham \ngraham@openseizuredetector.org.uk " + "\n\nChanges in this version:" + "\n- V3.1.0 - Added fall detection algorithm into Garmin/Fitbit Data Source " - + "\n ." + + "\n V3.1.3 - Added delay to SMS sending to give the user chance to cancel a false alarm." + + "\n V3.1.4 - Added repeat alarm beeps during SMS delay to alert user.." ); // This makes the links display as links, but they do not respond to clicks for some reason... Linkify.addLinks(s, Linkify.ALL); @@ -533,7 +534,8 @@ public class StartupActivity extends Activity { + "so I can get in touch if necessary.\nThank you! Graham \ngraham@openseizuredetector.org.uk " + "\n\nChanges in this version:" + "\n- V3.1.0 - Added fall detection algorithm into Garmin/Fitbit Data Source " - + "\n " + + "\n V3.1.3 - Added delay to SMS sending to give the user chance to cancel a false alarm." + + "\n V3.1.4 - Added repeat alarm beeps during SMS delay to alert user.." + "\n " ); // This makes the links display as links, but they do not respond to clicks for some reason...