Commit Graph
100 Commits
Author SHA1 Message Date
Graham Jones 1be6e51406 Fixed issue with new main activity blanking rather than staying on. Fixes #141 2024-01-31 21:32:30 +00:00
Graham Jones 1a98e1094e Fixed crash reported by google pre-release report 2024-01-31 21:30:51 +00:00
Graham Jones 7071696d8d Added writing of alarmState to OSD BLE Characteristic - not properly tested yet because I don't have a BLE data source which reads this - but it handles the characteristic not existing properly without crashing. 2024-01-28 20:28:14 +00:00
Graham Jones 6cdc245149 Update version code so that play store will send V4.2.x to alpha testers. 2024-01-28 14:03:51 +00:00
Graham Jones 7a44be7037 re-buid because I messed up play store alpha release 2024-01-27 22:57:19 +00:00
Graham Jones 02eeca28a3 Fixed issue with crash when switching between new and original UI 2024-01-27 22:49:27 +00:00
Graham Jones c89d02e397 Fixes switching between the two user interfaces without user having to exit app and re-start it. Fixes #138 2024-01-27 21:44:42 +00:00
Graham Jones b2a5fef2ff Put the fault detection functions (getStatus and faultCheck) in try...catch blocks. Fixes #135
Should reduce the chances of a silent crash
They should give a fault 'pip' instead of crashing.
Not easy to test though becasue crashes are so rare...
Use git diff -w to show the real changes, otherwise this looks like a huge change.
2024-01-27 21:17:15 +00:00
Graham Jones 4c164894a7 Fixed main activity mangling issue - Fixes #136 2024-01-27 20:23:45 +00:00
Graham Jones bc6d312c6a Fixed issue with system not shutting down properly using new UI (#133) - it was the fragments remaining bound to the server, preventing it shutting down. Fixed by making the 'stop' option an 'Exit' which shuts down the server and exits the main activity. 2024-01-25 22:15:09 +00:00
Graham Jones 4e3a6bb1de Made new UI default for new installations - built V4.2.1n apk 2024-01-24 20:16:53 +00:00
Graham Jones b4ec9afdcc Tidying up new user interface (and upgrading libraries after I suddenly got a load of build errors for some reason) 2024-01-24 20:09:34 +00:00
Graham Jones df9465dfb2 Tidied up BLE scan activity a bit 2024-01-21 21:05:09 +00:00
Graham Jones c5735d68c8 Set watch SD name and part no. for BLE data source 2024-01-21 19:47:23 +00:00
Graham Jones 36582f07e3 Started on battery history screen for new UI - not working yet, but it runs without crashing 2024-01-20 20:38:30 +00:00
Graham Jones 2cfb63fc2b Added data time and time diffrence between data points to main activity2 common fragment 2024-01-20 19:59:52 +00:00
Graham Jones cfe612933f Applied Android Studio code formatting to all java files 2024-01-19 20:53:18 +00:00
Graham Jones d8b3582291 Tidied up new user interface (and fixed problem with re-loading only activity from Android Studio) 2024-01-19 20:49:41 +00:00
Graham Jones 65c8a2a12b Updated BLE data source to handle 0x00 or 0xff as fault values, and fix issue with data being received multiple times after pinetime watch goes out of range and then returns. 2024-01-18 11:08:08 +00:00
Graham Jones 99b925cbd6 Increased chart description font size 2024-01-13 20:50:49 +00:00
Graham Jones 0cf40b9d21 Formatted HR history graph 2024-01-13 20:37:39 +00:00
Graham Jones f81a6e7dde Partial merge of the HR history graphs by @AroonPro - still need to add averaging option and then make the x scale user selectable - it is 3 hours at the moment 2024-01-13 13:42:38 +00:00
Graham Jones 9bfcc01525 Added read of standard battery service so we get 'settings ok' with InfiniTime 2024-01-11 19:50:27 +00:00
Graham Jones 259afff970 Added initial support for Infinitime GATT characteristics for heart rate and accelerometer - needs further development though! 2024-01-02 09:41:42 +00:00
Graham Jones 72018f7f28 Added updated README file from master branch 2023-12-21 18:03:07 +00:00
Graham Jones f94673c5e7 Changed default settings of fall detection algorithm so it works as a simple high acceleration detection algorithm - might fix #22 2023-12-21 17:52:35 +00:00
Graham Jones cdbacd00c2 Added alarm cause code. Fixes #111 2023-12-21 17:40:03 +00:00
Graham Jones 792ddf46d0 Fixed phone data source (battery low warning on MainActivity, and crash running off end of RawData). I am a bit suspicious that the frequency response is not right after downsampling, but ok for now as it is just a demo mode. 2023-12-21 15:59:22 +00:00
Graham Jones 92311545ea Added phone battery level to logged data fixes #55 2023-12-21 15:03:26 +00:00
Graham Jones 3e29db6e8a Reduced size of rawdata array to 125 (5 seconds at 25Hz). 2023-12-16 21:50:43 +00:00
Graham Jones 2aa1e89739 fixed error in translating accelerometer data into separate x,y,z values. 2023-12-16 21:05:05 +00:00
Graham Jones 67b6c4f242 Added support for different formats of acceleration data 2023-12-16 19:16:17 +00:00
Graham Jones 9827f7d8f5 Added support for reading the OSD_ACC_FMT characteristic to define the acceleration data format. 2023-12-13 16:49:17 +00:00
Graham Jones 7f2855bd09 Populate Watch ID and WatchSD version from BLE data source 2023-12-13 15:51:45 +00:00
Graham Jones 0d7bfc197e Added analysis of likely benefit of adding an offset to the individual axes acceleration values before calculating vector magnitude. It appears t be beneficial to improve overall sensitivity, but need to check effect on false alarms 2023-11-03 22:46:15 +00:00
Graham Jones 402eeff44d Table formatting change 2023-10-06 20:10:23 +01:00
Graham Jones fd0a7c7f05 Started description of BLE data source requirements. 2023-10-06 20:06:11 +01:00
Graham Jones 4ae42ab338 Added option to use the new or the old user interface 2023-10-04 22:38:31 +01:00
Graham Jones 26f181309a Updated BLE data source to use neater 128 bit UUIDs (compatible with BangleJS v0.11) 2023-10-04 22:24:20 +01:00
Graham Jones b339daa826 UI work in progress 2023-09-30 20:32:04 +01:00
Graham Jones 26cc18a17d Switched to material theme. Added detail to system fragment. Tidied up common fragment a bit. 2023-09-02 23:17:23 +01:00
Graham Jones 3ce91f89ab Added the main fragments for the new main activity - still need to populate them and add the main menu, but swiping between them works 2023-09-01 21:43:42 +01:00
Graham Jones d2577c1e0e Added pager so we can swipe between fragments - only have two dummy fragments so far though - need to port the original mainActivity display components to separate fragments next. 2023-08-31 21:02:00 +01:00
Graham Jones baf679489a Started on new main activity that will be based on fragments so user can select what information to display rather than having everything on one complicated screen. 2023-08-31 15:23:29 +01:00
Graham Jones 328dfedcbe Revert "Failed adding of auto-generated fragment based activity"
This reverts commit 72670bc65b.
2023-08-30 20:52:52 +01:00
Graham Jones 8c40afaab3 Revert "Update to gradle configuration as recommended by Android Studio buid analyser."
This reverts commit 9a7c559733.
2023-08-30 20:48:46 +01:00
Graham Jones 72670bc65b Failed adding of auto-generated fragment based activity 2023-08-30 20:48:27 +01:00
Graham Jones 9a7c559733 Update to gradle configuration as recommended by Android Studio buid analyser. 2023-08-30 20:40:43 +01:00
Graham Jones c474dc30ee Merge branch 'V4.1.x' into V4.2.x 2023-08-30 19:57:21 +01:00
Graham Jones 0d74ddfb5d Updated default settings for Fidget detector, and built V4.1.12 for play Store 2023-08-29 15:54:49 +01:00
Graham Jones dac1a2a0b8 Moved export data functionality to an AsyncTask to avoid ApplicationNotResponding warnings when exporting large amounts of data. 2023-08-29 15:37:46 +01:00
Graham Jones 0e71bcb608 Second attempt at V4.1.11 - explicity removed AD_ID permission in manifest to try to get rid of play store error 2023-08-26 09:53:53 +01:00
Graham Jones a4b6a43008 V4.1.11 - Fixed crash when exporting larger amounts of data and added simple fidget detector to detect if watch is not being worn. 2023-08-21 20:53:48 +01:00
Graham Jones 08a7aecb4d Starting model manager for sdAlgNn 2023-08-21 14:32:54 +01:00
Graham Jones bc455a2f7a V4.2.1a - added standard deviation threshold to ML Algorithm 2023-08-19 19:54:19 +01:00
Graham Jones 70f7a46764 Update to Target Android 13 (SDK33) as required by Play Store 2023-08-18 21:36:31 +01:00
Graham Jones 53db9482ba V4.1.10 built for Android Play Store 2023-07-28 20:46:02 +01:00
Graham Jones 17c82abc50 V4.1.10a - Added heart rate readings frozen fault warning. 2023-07-24 21:10:46 +01:00
Graham Jones 8e781fc092 V4.1.9 - Fixed issue with phone datasource generating continuous alarms if HR or O2SAT alarms enabled (Fixes #113) 2023-07-05 20:11:41 +01:00
Graham Jones c539247c48 Moved notification display to onCreate rather than onStartCommand to try to avoid crash - might fix #106 2023-06-18 19:16:55 +01:00
Graham Jones f1fa38214e Built V4.1.8 for play store 2023-06-17 21:50:01 +01:00
Graham Jones 8489d81816 Corrected HR algorithm to use average HR for average hr assessment, rather than current HR - fixes #105. Also updates main activity to highilight HR section if any HR algorithm goes into alarm. 2023-06-17 21:10:39 +01:00
Graham Jones 49cb28d431 Added traps for security exceptions in BLEScanActivity - Fixes #100 2023-06-17 20:48:35 +01:00
Graham Jones ef95065a3a Added check for mDataPointsToUploadLst being null - fixes #102 2023-06-17 19:59:39 +01:00
Graham Jones 89a3bc8ff7 Merge branch 'V4.1.x' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V4.1.x 2023-06-17 19:45:40 +01:00
Graham Jones 3e61397eb5 Added adaptive and average heart rate data to SdData so that it is logged to the data sharing database. 2023-06-17 19:45:35 +01:00
Graham Jones 30dd421e7e Added adaptive and average heart rate data to SdData so that it is logged to the data sharing database. 2023-06-16 21:56:36 +01:00
Graham Jones 968f1bf883 V4.1.7 - built signed version for Play Store 2023-06-11 20:56:54 +01:00
Graham Jones 78b9f72829 Checks to see if notification is displayed correctly before showing notification - avoids multiple notification sounds etc. Fixes #98 2023-06-11 20:53:15 +01:00
Graham Jones c527a5f5ca Reset HR Fault when valid HR data is received. Fixes #95. 2023-06-11 20:29:44 +01:00
Graham Jones 2f0671eec6 Added check for null return from reading profile from WebApiConnection - Fixes #99. 2023-06-11 20:13:47 +01:00
Graham Jones 50b2e3ea83 V4.1.6 - Built signed version for Play Store 2023-06-10 20:20:46 +01:00
Graham Jones bfe02682e8 Removed fall detection from main screen algorithms display. Fixes #94 2023-06-10 20:18:17 +01:00
Graham Jones d11b0c2beb Fixed issue with export data screen showing when selecting other menu items. Fixes #93 2023-06-10 19:55:43 +01:00
Graham Jones 72f73e4c3b Merge branch 'V4.1.x' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V4.1.x 2023-06-06 20:48:03 +01:00
Graham Jones c3f31e4c3f V4.1.5 - Added progress spinner to export data screen, added header to exported .csv file, fixed another notification crash.
Fixes #84, #85, #90
2023-06-06 20:47:10 +01:00
Graham Jones f825b7da85 V4.1.5 - Added progress spinner to export data screen, added header to exported .csv file, fixed another notification crash. 2023-06-06 20:45:48 +01:00
Graham Jones 70e7e2852b Fixed crash when showing unvalidated events notification. 2023-06-06 20:06:05 +01:00
Graham Jones 71b25ff844 V4.1.4 released on Play Store 2023-06-04 20:58:18 +01:00
Graham Jones 0a57ff0ae0 Added ExportData function, and fixed issue with fault showing for HR and O2sat. 2023-06-03 19:30:04 +01:00
Graham Jones 36ba4e2f77 Fixed issue with crashes starting on Android 12 - Fixes #80 2023-05-31 20:04:12 +01:00
Graham Jones babfe74043 Upgraded to target SDK Level 31 for Google Play Store 2023-05-31 17:21:29 +01:00
Graham Jones 6e555a28df V4.1.3 for upload to play store 2023-05-31 16:47:46 +01:00
Graham Jones 27614c96f6 Updated changelog and version number 2023-05-31 16:37:20 +01:00
Graham Jones f5f88074b3 Enabled alarm from the new HR alarm system 2023-05-31 16:29:35 +01:00
Graham Jones 591b4a8319 Enabled new SdAlgHr checks in SdDataSource - needs testing! 2023-04-28 20:37:01 +01:00
Graham Jones 2bac4a9522 Added average HR calculations to SdAlgHR - SdAlgHR still needs to be commissioned in SdDataSource class so it is used though. 2023-04-07 21:35:16 +01:00
Graham Jones 908e9a8563 Trying to get some automated tests working.... 2023-03-10 12:10:39 +00:00
Graham Jones 033c41a675 Adjusting text of heart rate alarm settings 2023-03-02 20:52:56 +00:00
Graham Jones a23e67b760 Added settings for new Heart Rate Alarms 2023-03-01 21:12:20 +00:00
Graham Jones 0127a67fb0 Added dummy google-services.json to avoid compilation error. 2023-03-01 15:01:53 +00:00
Graham Jones c31f0ac2ab V4.1.3m - update to Polish translation and fixed issue with system crash during alarm if failed to bring main activity to front. 2023-03-01 10:45:58 +00:00
Graham Jones 4b3b90765f Updated Adaptive Heart Rate report to include images of heart rate graphs 2023-02-26 20:23:25 +00:00
Graham Jones d93d39332f Added documentation for proposed Adaptive heart rate alarm 2023-02-25 22:27:23 +00:00
Graham Jones 38f2e21e0c minor update to polish translation formatting 2023-02-15 20:25:32 +00:00
Graham Jones f463ad3d4b Merged more Polish translation changes from Jacek - had to add some strings to the default values/strings.xml to build release version. 2023-02-15 19:02:46 +00:00
Graham Jones 9ca970572e V4.1.3l - extracted more hard coded strings to be translatable. 2023-02-12 19:39:05 +00:00
Graham Jones cf0356a53b Corrected line endings on polish strings.xml 2023-02-11 21:10:47 +00:00
Graham Jones 451242c310 Extracted hard coded text in toast meassages to be translatable, and minor improvements to Polish translation by Jacek 2023-02-11 20:10:13 +00:00
Graham Jones e71b8a3da9 Further updates to Polish translations and extracting more hard-coded strings to be translatable. 2023-02-10 22:00:49 +00:00