Commit Graph

247 Commits

Author SHA1 Message Date
Graham Jones
1816c10234 Added check that log manager mLm is not null before using it - FIXES #195 (well prevents it crashing the whole app anyway!) 2024-06-14 14:36:22 +01:00
Graham Jones
7871de926c V4.2.9 - fixed crash when using Polish translation and corrected network data source fault display on main screen. 2024-06-10 20:17:07 +01:00
Graham Jones
54e0264cdd Introduced ParseToDoule function into mUtil as suggested by @AroonPro. I have used NumberFormat to do the parse as recommended by the Oracle java documentation. Fixes #185 2024-05-08 21:38:07 +01:00
Graham Jones
db9515cf31 Re-enabled auto reconnection in BLE2 data source - seems to be working well after several disconnect-reconnect cycles. 2024-04-14 19:55:41 +01:00
Graham Jones
dad8df1c15 Built V4.2.6 for beta testing 2024-04-13 22:23:37 +01:00
Graham Jones
1308e6cbef Disabled data source re-start on FAULT because it was resulting in multiple notifications to the accelerometer characteristic which meant it was receiving duplicate values which was breaking the analysis - it is better to have a FAULT than bad analysis! 2024-04-13 20:15:26 +01:00
Graham Jones
57068c49fb Fixed issue with bluetooth permissions - different permissions required for Android 12+ 2024-04-12 20:46:50 +01:00
Graham Jones
0dbb735517 bumped version number 2024-04-11 20:41:11 +01:00
Graham Jones
3ad112cce7 Fixed notificaton problems on Android 13, tidied up start-up sequence. Added a 'restart' menu option. 2024-04-08 20:34:30 +01:00
Graham Jones
3552df8981 Built draft v4.2.6a.apk for testing on a few different devices. 2024-04-06 20:58:22 +01:00
Graham Jones
dee2bcc3b8 Fixed notifications and Bluetooth permissions issues on Android 13 Go. Re-start of the app improved to reduce the chance of leaving part of background service running, but this may make startup activity seem less stable. 2024-04-06 20:41:04 +01:00
Graham Jones
6d68348330 Added Current Time Service to BLE Data Source so we set the time on InfiniTime when it connects (using the library by BeeLine https://github.com/RideBeeline/android-bluetooth-current-time-service)). 2024-04-02 19:44:13 +01:00
Graham Jones
ba9b092147 V4.2.4 - fault rather than crash if bluetooth system crashes. 2024-03-26 21:12:13 +00:00
Graham Jones
fb59ec6db6 Added check that characteristic is not null before reading it. Displays warning on Logcat if it is null rather than crashing. 2024-03-25 22:56:56 +00:00
Graham Jones
cff9d4567c V4.2.4a - check for null gatt characteristic before writing - should fix #158 2024-03-24 22:16:13 +00:00
Graham Jones
340b82ad1b Built V4.2.3 for play store 2024-03-24 16:42:43 +00:00
Graham Jones
6437e28bf9 Update version number 2024-03-23 20:25:09 +00:00
Graham Jones
9da0406e90 Fixed latch alarm timer (fixes #146) 2024-03-21 22:47:24 +00:00
Graham Jones
092802cf1d Made mainactivity 'exit' menu function the same as mainactivity2 for consistency. 2024-02-27 13:23:54 +00:00
Graham Jones
69175131e2 Fixed issue with crash when rotating screen - Fixes #142 2024-02-02 15:06:23 +00:00
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
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
4c164894a7 Fixed main activity mangling issue - Fixes #136 2024-01-27 20:23:45 +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
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
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
7f2855bd09 Populate Watch ID and WatchSD version from BLE data source 2023-12-13 15:51:45 +00: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
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
72670bc65b Failed adding of auto-generated fragment based activity 2023-08-30 20:48:27 +01:00
Graham Jones
c474dc30ee Merge branch 'V4.1.x' into V4.2.x 2023-08-30 19:57:21 +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
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
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
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
2f0671eec6 Added check for null return from reading profile from WebApiConnection - Fixes #99. 2023-06-11 20:13:47 +01:00