Commit Graph
100 Commits
Author SHA1 Message Date
Graham Jones f2b3f767c2 Build of V3.5.0a for testing. Includes fix of BLE datasource not shutting down on request, and possible fix of the 'mToneGenerator is null' error. 2020-08-22 21:48:41 +01:00
Graham Jones 62e19e6ebe Fixed abrupt crash if BLE address is empty string, and created testing version of V3.5.0 2020-08-22 11:43:51 +01:00
Graham Jones 47d6df65a0 Merge branch 'V3.4' into V3.5 2020-08-22 11:13:49 +01:00
Graham Jones 9047a86544 Added UUID string to text messages to identify them as being from OpenSeizureDetector 2020-08-22 11:04:11 +01:00
Graham Jones 8c4b8e3661 Build of V3.5.0 - Beta Test of Phone Call Alerts. 2020-08-20 22:02:06 +01:00
Graham Jones 9ca16954d0 First go at generating broadcasts to request openseizuredetector Dialler to generate phone call alerts. 2020-08-20 21:15:58 +01:00
Graham Jones b924519dd2 Added some automatic reconnection code for BLE data source. Still not as reliable as I would like though. 2020-08-16 22:28:12 +01:00
Graham Jones 3cc11dfab8 Added support for a battery level characteristic. 2020-08-12 20:42:45 +01:00
Graham Jones 4bafd15d7e First functioning version of BLE Datasource - runs ok with BangleJs OpenSeizure Widget 2020-08-11 21:22:49 +01:00
Graham Jones 8b46e1b42d Continuous reading of heart rate now working 2020-08-09 23:43:34 +01:00
Graham Jones dc5a43040b BLE Service discovery working - next to check characteristics exist and subscribe to notifications from them. 2020-08-08 22:25:34 +01:00
Graham Jones 7e2dce8c67 Added button in settings to select BLE device. Note may have broken theme so UI looks odd - actionbar may be missing... 2020-08-08 21:31:34 +01:00
Graham Jones 3d9d47a757 Completed(?) refactor to move all of the self-checking timers and analysis into the parent class SdDatasource. This makes SdDataSourceGarmin a trivial class, but allows us to start on SdDataSourceBLE without needing loads of data processing code 2020-08-07 19:49:23 +01:00
Graham Jones 66e13be06d Started to refactor SdDataSource to include a lot of the analysis and checking code in SdDataSourceGarmin - to simplify SDDataSourceGarmin and make it easier to create an SdDataSourceBLE bluetooth data source. NOT WORKING JUST YET - have broken something! 2020-08-06 22:14:16 +01:00
Graham Jones f0dafdd6aa Merge branch 'V3.2' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.2 2020-08-02 21:56:24 +01:00
Graham Jones 23bbf3f64d Corrected V3.2.1 to use separate changelog string to simplify translations (means changelog will be in English though). 2020-08-02 21:52:39 +01:00
Graham Jones 0bbd72ed59 Corrected V3.2.1 to use separate changelog string to simplify translations (means changelog will be in English though). 2020-08-02 21:41:52 +01:00
Graham Jones d22a31fe28 Merge branch 'V3.2' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.2 2020-08-02 21:15:39 +01:00
Graham Jones f913285433 Added Spanish Translation by Cesareo Mario Guajardo Murillo 2020-08-02 21:12:16 +01:00
Graham Jones 308732e386 Added Spanish Translation by Cesareo Mario Guajardo Murillo 2020-07-29 22:43:50 +01:00
Graham Jones b4c9d1d08d V3.2.0 - Added multiple language support 2020-04-18 20:26:29 +01:00
Graham Jones 48ade0ba6f Updated Sweedish Translation (Thank you Andreas and Marie Ekstrom! 2020-04-16 21:58:49 +01:00
Graham Jones 4d042f4b59 Moved more hard coded text into string resources so they can be translated. 2020-04-02 20:44:14 +01:00
Graham Jones 9d09512b6d Added Russian translation by Pavel Losevsky 2020-04-01 19:42:24 +01:00
Graham Jones 6f674d6c60 Moved Basic Settings text into strings.xml so it can be translated. 2020-03-30 19:54:20 +01:00
Graham Jones a7188eee0e Added a default basic mode, with a lot less settings visible. 2020-03-29 22:26:29 +01:00
Graham Jones 95f3dd7d96 Added authorisation dialog - doesn't do anything yet, which is a shame considering how much code it took! 2020-03-11 19:41:48 +00:00
Graham Jones a2073314cf Merge branch 'master' into V3.2 2020-03-08 09:16:55 +00:00
Graham Jones d37335e40c Beta test release V3.1.15a - Added German Language Support 2020-03-01 20:20:26 +00:00
Graham Jones 1b5920dac0 Added apk for V3.1.14 2020-02-29 19:54:10 +00:00
Graham Jones 38f40ea471 Merge branch 'master' of https://github.com/OpenSeizureDetector/Android_Pebble_SD 2020-02-27 20:59:50 +00:00
Graham Jones 79c65284e4 Increased minimum SDK to Android 5 because of errors compiling for Android 4. Fixed web interface javascript (broken by V3.1.13). Separated Start-up and Main activity UI strings to resources so we can add translations 2020-02-27 20:58:26 +00:00
Graham Jones aa72d3ff27 Update README.md 2020-02-16 20:23:39 +00:00
Graham Jones 31a0748d77 Update README.md 2020-02-16 20:23:13 +00:00
Graham Jones 3e9000c52a V3.1.13 - Fixed problem with network datasource not responding to FAULT conditions correctly 2020-02-16 19:30:14 +00:00
Graham Jones 8a09fe45cc Corrected web server mime types to get Garmin display working again. Also added HR alarm standing prameter to /data so network datasource should alarm correctly on HR alarm now. 2020-02-15 21:26:57 +00:00
Graham Jones 5df5ef66c6 Added support for watch info settins in SdDataSourceGarmin. Started converting to sqlite database data logging rather than text file. 2020-01-06 20:51:14 +00:00
Graham Jones f40c363808 Starting to add an activity to query the database 2019-11-12 11:15:42 +00:00
Graham Jones 14fce1b6e1 Added logging to local database 2019-11-10 22:03:34 +00:00
Graham Jones 384bb7c9a3 V3.11 - Fixed heart rate reporting in network datasource 2019-10-23 20:18:22 +01:00
Graham Jones 102a5c2a94 V3.1.10 - Added user option to treat null heart rate as an alarm condition rather than a fault. 2019-10-20 18:01:00 +01:00
Graham Jones 74cde048ed Merge branch 'V3.1' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.1 2019-07-11 19:58:30 +01:00
Graham Jones 0c5e7e2d2d V3.1.9 - fixed problem with crash of start-up activity in Android 9, and got warnings working for Garmin Data Source 2019-07-11 19:57:14 +01:00
Graham Jones 69e3668649 Produced some unit tests for the seizure detection algorithm 2019-06-23 16:59:24 +01:00
Graham Jones 238b3c504f V3.1.9 - quite a few changes - see Changelog.md 2019-06-22 11:41:58 +01:00
Graham Jones 54ce96aabb V3.1.8 - added READ_PHONE_STATE permission as lack of this was resulting in SMS failure on some phones. 2019-06-06 20:38:23 +01:00
Graham Jones 03402440ad V3.1.7 - Added mute function from Garmin Data Source watch buttons. 2019-04-28 22:21:47 +01:00
Graham Jones 350f48c167 Merge branch 'V3.1' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.1 2019-04-27 21:36:33 +01:00
Graham Jones be942b7798 V3.1.6 - made the cancel audible button cancel SMS alarms as well as audible beeps 2019-04-27 21:35:24 +01:00
Graham Jones 6c31fa8aea V3.1.6 - made the cancel audible button cancel SMS alarms as well as audible beeps 2019-04-27 21:24:38 +01:00
Graham Jones b33b0015bf V3.1.5 - fixed bug that crashed main activity screen when server was shutdown (introduced in 3.1.3) 2019-04-27 20:16:30 +01:00
Graham Jones 85d6d94f73 V3.1.4 - Added repeat beep during SMS send delay. 2019-04-25 21:59:21 +01:00
Graham Jones fc24f4d000 V3.1.3 - Moved SMS timer creation to avoid an (intermittent?) fault about handlers and looper.prepare() 2019-04-22 23:17:10 +01:00
Graham Jones 111812300e V3.1.2 - Made fall alarms latch, irrespective of the latch alarm setting - this is because falls are transitory so to be useful the alarm has to latch so the user can tell what caused the beep. 2019-04-22 21:43:19 +01:00
Graham Jones 8013b5d56a V3.1.1 - Added delay before sending SMS alarm to give the user the chance to cancel it. 2019-04-22 21:17:51 +01:00
Graham Jones b29d346c9d V3.1.0 - Added simple fall detection algorithm to Garmin/Pebble data source 2019-04-07 20:48:40 +01:00
Graham Jones 33a11f0e73 V3.0.4 - Fixed problem with crashing after server stopped, and crash when selecting install watch app menu option. And I think I have finally sorted the problem of multiple
versions of the server running...but might be wrong - clsoe the issue anyway and see what happens.
Also tidied up main app screen when server stopped or in fault condition.
Closes #13, Closes #12, Closes #11
2019-03-17 13:41:48 +00:00
Graham Jones cb2bf280e0 V3.0.3 - Fixed problem with app crash on phone boot 2019-03-06 21:04:21 +00:00
Graham Jones 06493bc579 Merge branch 'V3.0' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.0 2019-03-06 20:34:35 +00:00
Graham Jones 14d54ecaba V3.0.2 - Fixed problem with incorrect re-start when first accepting SMS permissions. 2019-03-06 20:34:01 +00:00
Graham Jones 894ea54c90 V3.0.2 - Fixed problem with incorrect re-start when first accepting SMS permissions. 2019-02-27 21:48:06 +00:00
Graham Jones e02117a689 V3.0.1 - Changed data log format 2019-02-21 19:54:27 +00:00
Graham Jones 966a0f8e56 Merge branch 'V3.0' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.0 2019-02-17 20:09:09 +00:00
Graham Jones 0d9b19200b Merge branch 'V3.0' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.0 2019-02-17 20:07:53 +00:00
Graham Jones 906289887a Merge branch 'V3.0' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.0 2019-02-15 20:17:07 +00:00
Graham Jones ae39c9edcf Merge branch 'V3.0' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.0 2019-02-15 20:15:40 +00:00
Graham Jones 0638354ed6 Merge branch 'V3.0' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.0 2019-02-15 19:54:25 +00:00
Graham Jones eb73a5f615 V3.0.0 - With signed APK, and removed unused READ_PHONE_STATE permission 2019-02-15 19:52:18 +00:00
Graham Jones 689e96f1f6 V3.0.0 - With signed APK 2019-02-15 19:12:46 +00:00
Graham Jones 9a231298e1 Improved notification title - shows alarm state. 2019-02-15 19:00:43 +00:00
Graham Jones a874e2b83c Merge branch 'V2.6' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V2.6 2019-02-15 16:14:38 +00:00
Graham Jones 52ba1627aa V2.6.4 - Fixed crash on Android 9 by adding apache http library to manifest. Tests ok on Pixel 2 (API28) emulator. 2019-02-15 16:14:10 +00:00
Graham Jones a36d537e94 V2.6.4 - Fixed crash on Android 9 by adding apache http library to manifest. Tests ok on Pixel 2 (API28) emulator. 2019-02-12 21:38:50 +00:00
Graham Jones 3f1bc4cd7f V2.6.3 - Fixed problem with Android V9, and restored support for Android V4.0.x 2019-02-12 08:47:22 +00:00
Graham Jones 81090da2dc Added FOREGROUND_SERVICE permission, which seems to be needed for Android 9 or it crashes with a 'Permission Denied' error. 2019-02-11 21:11:08 +00:00
Graham Jones 3221775899 Merge branch 'V2.6' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V2.6 2019-01-27 22:02:55 +00:00
Graham Jones 79d0cc9e24 V2.6.1 - Explicitly request SMS permission, and provide warnings in notification if active. 2019-01-27 22:01:26 +00:00
Graham Jones eb703fe03e V2.6.1 - Explicitly request SMS permission, and provide warnings in notification if active. 2019-01-27 21:31:22 +00:00
Graham Jones 6d5771181f Updated system so it will run without SMS permissions granted. Changed notification to warn the user if SMS alarms are enabled. Fixed notification icon background. 2019-01-27 21:14:07 +00:00
Graham Jones 02b2451a57 Fixed problem with server not shutting down properly after changing settings, resulting in multiple versions of the datasource running. 2019-01-27 20:19:41 +00:00
Graham Jones 0bc18d5d0b Minor UI improvements to tidy it up a bit. 2019-01-27 15:09:15 +00:00
Graham Jones 6a2bd7c8be Merge branch 'V2.6' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V2.6 2019-01-27 10:14:17 +00:00
Graham Jones 77df0ebdcc New test version of 2.6.0 with status of Heart Rate alarm shown on main app screen if disabled. 2019-01-27 10:09:47 +00:00
Graham Jones 012ca9e4a3 New test version of 2.6.0 with status of Heart Rate alarm shown on main app screen if disabled. 2019-01-27 09:59:59 +00:00
Graham Jones efc8626b03 Added simple python script to test the Garmin (NetworkPassive) Data Source in the absence of a hardware device. 2019-01-27 09:45:54 +00:00
Graham Jones b217259ca5 Fixed problem with Android 8 permissions. Needed to implement a new unhandled Exception Handler because mine kept giving Permission Denied errors. 2019-01-26 23:53:27 +00:00
Graham Jones 76df111876 Build of V2.6.0 alpha test version 2019-01-23 06:33:58 +00:00
Graham Jones 4cd2220d51 Changed lots of log entries to debug start-stop problems and (I think) fixed the problem with permissions on Android 8 - alpha test version of V2.6 2019-01-23 06:25:34 +00:00
Graham Jones 5e17623586 V2.6.0 - Added support for early Garmin based seizure detector (v0.1 of Garmin SD watch app). Uses Send_sms permission still. 2019-01-20 21:29:41 +00:00
Graham Jones 8f823aaa57 Removed SEND_SMS permission to comply with Google policy and use intent to send the SMS instead. BUT this just opens the SMS app - the user has to press 'Send', so this is not any good for us. I have applied to Google to keep SEND_SMS permission, so will hopefully undo this change in a week or two! 2019-01-20 13:07:44 +00:00
Graham Jones 4308e90f26 Solved problem of background service crashing - it is a 'feature' of Android 8 where background services are shutdown when the main activity stops. Solution is to make the service a 'Foreground Service' instead (I think - testing now....) 2019-01-14 23:31:02 +00:00
Graham Jones 77c3f9d48e Tidying up log messages - in particular using Log.i for more important ones, and keeping Log.v for regular messages. 2019-01-09 23:43:00 +00:00
Graham Jones 845a554039 tidying up log messages on main activity, and got rid of spurious directory creating error in osdUtil 2019-01-09 07:29:15 +00:00
Graham Jones 86ad2bdfc0 Corrected starting and stopping of uiTimer so it stops properly when mainActivity closed. 2019-01-09 07:02:30 +00:00
Graham Jones 55cc65847d Removed unused ipCamera fragment which was causing warnings in Google Play Store 2019-01-09 06:40:18 +00:00
Graham Jones a21f009f9e Fixed crash when you select the settings manu with a very crude hack - needs doing properly really! 2019-01-06 20:46:31 +00:00
Graham Jones c73898bc31 Changed MainActivity to be a subclass of AppCompatActivity to get action bar working again after changing target SDK. 2019-01-06 20:39:18 +00:00
Graham Jones 5157efcdac Converted to target SDK Level 28 - had to change how we did notifications, and specify a style to get back to black background. Still a problem with the 'ok' notification not displaying properly - background showing white for some reason. 2019-01-05 23:10:55 +00:00
Graham Jones fa9ad87985 Get NetworkPassive data source working with Garmin watch - but raw data analysis still not working. 2019-01-02 20:44:11 +00:00
Graham Jones c8a240c84b Merge branch 'V2.6_new' into V2.6 - Addes updated SMS sending code and network datasource passive 2018-12-27 09:48:37 +00:00