1be6e51406
Fixed issue with new main activity blanking rather than staying on. Fixes#141
Graham Jones
2024-01-31 21:32:30 +00:00
1a98e1094e
Fixed crash reported by google pre-release report
Graham Jones
2024-01-31 21:30:51 +00:00
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.
Graham Jones
2024-01-28 20:28:14 +00:00
6cdc245149
Update version code so that play store will send V4.2.x to alpha testers.
Graham Jones
2024-01-28 14:03:51 +00:00
8f905b068f
Merge branch 'V4.1.x'
Graham Jones
2024-01-28 13:45:18 +00:00
bb451e1f74
tidying directory
Graham Jones
2024-01-28 13:44:54 +00:00
09f33ee16f
Minor Update to V4.1.x to fix silent crash issue #135 in production version
Graham Jones
2024-01-28 08:29:27 +00:00
7a44be7037
re-buid because I messed up play store alpha release
Graham Jones
2024-01-27 22:57:19 +00:00
02eeca28a3
Fixed issue with crash when switching between new and original UI
Graham Jones
2024-01-27 22:49:27 +00:00
c89d02e397
Fixes switching between the two user interfaces without user having to exit app and re-start it. Fixes#138
Graham Jones
2024-01-27 21:44:42 +00:00
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.
Graham Jones
2024-01-27 21:14:48 +00:00
4c164894a7
Fixed main activity mangling issue - Fixes#136
Graham Jones
2024-01-27 20:23:45 +00:00
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.
Graham Jones
2024-01-25 22:15:09 +00:00
4e3a6bb1de
Made new UI default for new installations - built V4.2.1n apk
Graham Jones
2024-01-24 20:16:53 +00:00
b4ec9afdcc
Tidying up new user interface (and upgrading libraries after I suddenly got a load of build errors for some reason)
Graham Jones
2024-01-24 20:09:34 +00:00
df9465dfb2
Tidied up BLE scan activity a bit
Graham Jones
2024-01-21 21:05:09 +00:00
c5735d68c8
Set watch SD name and part no. for BLE data source
Graham Jones
2024-01-21 19:47:23 +00:00
36582f07e3
Started on battery history screen for new UI - not working yet, but it runs without crashing
Graham Jones
2024-01-20 20:38:30 +00:00
2cfb63fc2b
Added data time and time diffrence between data points to main activity2 common fragment
Graham Jones
2024-01-20 19:59:52 +00:00
cfe612933f
Applied Android Studio code formatting to all java files
Graham Jones
2024-01-19 20:53:18 +00:00
d8b3582291
Tidied up new user interface (and fixed problem with re-loading only activity from Android Studio)
Graham Jones
2024-01-19 20:49:41 +00:00
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.
Graham Jones
2024-01-18 11:08:08 +00:00
99b925cbd6
Increased chart description font size
Graham Jones
2024-01-13 20:50:49 +00:00
0cf40b9d21
Formatted HR history graph
Graham Jones
2024-01-13 20:37:39 +00:00
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
Graham Jones
2024-01-13 13:42:38 +00:00
9bfcc01525
Added read of standard battery service so we get 'settings ok' with InfiniTime
Graham Jones
2024-01-11 19:50:27 +00:00
259afff970
Added initial support for Infinitime GATT characteristics for heart rate and accelerometer - needs further development though!
Graham Jones
2024-01-02 09:41:42 +00:00
72018f7f28
Added updated README file from master branch
Graham Jones
2023-12-21 18:03:07 +00:00
f94673c5e7
Changed default settings of fall detection algorithm so it works as a simple high acceleration detection algorithm - might fix#22
Graham Jones
2023-12-21 17:52:35 +00:00
cdbacd00c2
Added alarm cause code. Fixes#111
Graham Jones
2023-12-21 17:40:03 +00:00
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.
Graham Jones
2023-12-21 15:59:22 +00:00
92311545ea
Added phone battery level to logged data fixes#55
Graham Jones
2023-12-21 15:03:26 +00:00
1f4f750bd6
Update README.md - added description of code structure
Graham Jones
2023-12-21 12:34:42 +00:00
bf637150a8
Update README.md - Added build and installation instructions
Graham Jones
2023-12-21 12:28:43 +00:00
3e29db6e8a
Reduced size of rawdata array to 125 (5 seconds at 25Hz).
Graham Jones
2023-12-16 21:50:43 +00:00
2aa1e89739
fixed error in translating accelerometer data into separate x,y,z values.
Graham Jones
2023-12-16 21:05:05 +00:00
67b6c4f242
Added support for different formats of acceleration data
Graham Jones
2023-12-16 19:16:17 +00:00
9827f7d8f5
Added support for reading the OSD_ACC_FMT characteristic to define the acceleration data format.
Graham Jones
2023-12-13 16:49:17 +00:00
7f2855bd09
Populate Watch ID and WatchSD version from BLE data source
Graham Jones
2023-12-13 15:51:45 +00:00
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
Graham Jones
2023-11-03 22:46:15 +00:00
402eeff44d
Table formatting change
Graham Jones
2023-10-06 20:10:23 +01:00
fd0a7c7f05
Started description of BLE data source requirements.
Graham Jones
2023-10-06 20:06:11 +01:00
4ae42ab338
Added option to use the new or the old user interface
Graham Jones
2023-10-04 22:38:31 +01:00
26f181309a
Updated BLE data source to use neater 128 bit UUIDs (compatible with BangleJS v0.11)
Graham Jones
2023-10-04 22:24:20 +01:00
b339daa826
UI work in progress
Graham Jones
2023-09-30 20:32:04 +01:00
26cc18a17d
Switched to material theme. Added detail to system fragment. Tidied up common fragment a bit.
Graham Jones
2023-09-02 23:17:23 +01:00
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
Graham Jones
2023-09-01 21:43:42 +01:00
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.
Graham Jones
2023-08-31 21:02:00 +01:00
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.
Graham Jones
2023-08-31 15:23:29 +01:00
328dfedcbe
Revert "Failed adding of auto-generated fragment based activity"
Graham Jones
2023-08-30 20:52:52 +01:00
8c40afaab3
Revert "Update to gradle configuration as recommended by Android Studio buid analyser."
Graham Jones
2023-08-30 20:48:46 +01:00
72670bc65b
Failed adding of auto-generated fragment based activity
Graham Jones
2023-08-30 20:48:27 +01:00
9a7c559733
Update to gradle configuration as recommended by Android Studio buid analyser.
Graham Jones
2023-08-30 20:40:43 +01:00
c474dc30ee
Merge branch 'V4.1.x' into V4.2.x
Graham Jones
2023-08-30 19:57:21 +01:00
0d74ddfb5d
Updated default settings for Fidget detector, and built V4.1.12 for play Store
Graham Jones
2023-08-29 15:54:49 +01:00
dac1a2a0b8
Moved export data functionality to an AsyncTask to avoid ApplicationNotResponding warnings when exporting large amounts of data.
Graham Jones
2023-08-29 15:37:46 +01:00
0e71bcb608
Second attempt at V4.1.11 - explicity removed AD_ID permission in manifest to try to get rid of play store error
Graham Jones
2023-08-26 09:53:53 +01:00
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.
Graham Jones
2023-08-21 20:53:48 +01:00
08a7aecb4d
Starting model manager for sdAlgNn
Graham Jones
2023-08-21 14:32:54 +01:00
bc455a2f7a
V4.2.1a - added standard deviation threshold to ML Algorithm
Graham Jones
2023-08-19 19:54:19 +01:00
70f7a46764
Update to Target Android 13 (SDK33) as required by Play Store
Graham Jones
2023-08-18 21:36:31 +01:00
53db9482ba
V4.1.10 built for Android Play Store
Graham Jones
2023-07-25 11:42:46 +01:00
17c82abc50
V4.1.10a - Added heart rate readings frozen fault warning.
Graham Jones
2023-07-24 21:10:46 +01:00
8e781fc092
V4.1.9 - Fixed issue with phone datasource generating continuous alarms if HR or O2SAT alarms enabled (Fixes#113)
Graham Jones
2023-07-05 20:11:41 +01:00
c539247c48
Moved notification display to onCreate rather than onStartCommand to try to avoid crash - might fix#106
Graham Jones
2023-06-18 19:16:55 +01:00
f1fa38214e
Built V4.1.8 for play store
Graham Jones
2023-06-17 21:50:01 +01:00
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.
Graham Jones
2023-06-17 21:10:39 +01:00
49cb28d431
Added traps for security exceptions in BLEScanActivity - Fixes#100
Graham Jones
2023-06-17 20:48:35 +01:00
ef95065a3a
Added check for mDataPointsToUploadLst being null - fixes#102
Graham Jones
2023-06-17 19:59:39 +01:00
3e61397eb5
Added adaptive and average heart rate data to SdData so that it is logged to the data sharing database.
Graham Jones
2023-06-16 21:56:36 +01:00
30dd421e7e
Added adaptive and average heart rate data to SdData so that it is logged to the data sharing database.
Graham Jones
2023-06-16 21:56:36 +01:00
968f1bf883
V4.1.7 - built signed version for Play Store
Graham Jones
2023-06-11 20:56:54 +01:00
78b9f72829
Checks to see if notification is displayed correctly before showing notification - avoids multiple notification sounds etc. Fixes#98
Graham Jones
2023-06-11 20:53:15 +01:00
c527a5f5ca
Reset HR Fault when valid HR data is received. Fixes#95.
Graham Jones
2023-06-11 20:29:44 +01:00
2f0671eec6
Added check for null return from reading profile from WebApiConnection - Fixes#99.
Graham Jones
2023-06-11 20:13:47 +01:00
50b2e3ea83
V4.1.6 - Built signed version for Play Store
Graham Jones
2023-06-10 20:20:46 +01:00
bfe02682e8
Removed fall detection from main screen algorithms display. Fixes#94
Graham Jones
2023-06-10 20:17:48 +01:00
d11b0c2beb
Fixed issue with export data screen showing when selecting other menu items. Fixes#93
Graham Jones
2023-06-10 19:55:43 +01:00
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
Graham Jones
2023-06-06 20:45:48 +01:00
f825b7da85
V4.1.5 - Added progress spinner to export data screen, added header to exported .csv file, fixed another notification crash.
Graham Jones
2023-06-06 20:45:48 +01:00
70e7e2852b
Fixed crash when showing unvalidated events notification.
Graham Jones
2023-06-06 20:06:05 +01:00
71b25ff844
V4.1.4 released on Play Store
Graham Jones
2023-06-04 20:58:18 +01:00
0a57ff0ae0
Added ExportData function, and fixed issue with fault showing for HR and O2sat.
Graham Jones
2023-06-03 19:30:04 +01:00
36ba4e2f77
Fixed issue with crashes starting on Android 12 - Fixes#80
Graham Jones
2023-05-31 20:04:12 +01:00
babfe74043
Upgraded to target SDK Level 31 for Google Play Store
Graham Jones
2023-05-31 17:21:29 +01:00
6e555a28df
V4.1.3 for upload to play store
Graham Jones
2023-05-31 16:47:46 +01:00
27614c96f6
Updated changelog and version number
Graham Jones
2023-05-31 16:37:20 +01:00
f5f88074b3
Enabled alarm from the new HR alarm system
Graham Jones
2023-05-31 16:29:35 +01:00
591b4a8319
Enabled new SdAlgHr checks in SdDataSource - needs testing!
Graham Jones
2023-04-28 20:37:01 +01:00
2bac4a9522
Added average HR calculations to SdAlgHR - SdAlgHR still needs to be commissioned in SdDataSource class so it is used though.
Graham Jones
2023-04-07 21:35:16 +01:00
908e9a8563
Trying to get some automated tests working....
Graham Jones
2023-03-10 12:10:39 +00:00
033c41a675
Adjusting text of heart rate alarm settings
Graham Jones
2023-03-02 20:52:56 +00:00
a23e67b760
Added settings for new Heart Rate Alarms
Graham Jones
2023-03-01 21:12:20 +00:00
0127a67fb0
Added dummy google-services.json to avoid compilation error.
Graham Jones
2023-03-01 15:01:53 +00:00
c31f0ac2ab
V4.1.3m - update to Polish translation and fixed issue with system crash during alarm if failed to bring main activity to front.
Graham Jones
2023-03-01 10:45:58 +00:00
4b3b90765f
Updated Adaptive Heart Rate report to include images of heart rate graphs
Graham Jones
2023-02-26 20:23:25 +00:00
d93d39332f
Added documentation for proposed Adaptive heart rate alarm
Graham Jones
2023-02-25 22:27:23 +00:00
38f2e21e0c
minor update to polish translation formatting
Graham Jones
2023-02-15 20:25:32 +00:00