Commit Graph

583 Commits

Author SHA1 Message Date
Graham Jones
89116d8a3e Increased check Events timer period from 60 sec to 600 sec to reduce data usage, and commented out the unused dataLogTimer 2025-02-09 15:51:57 +00:00
Graham Jones
9311c28863 Increase build number to 148 to keep Play Store happy. 2024-10-10 20:15:06 +01:00
Graham Jones
9dfa830451 Merge branch '202-unable-to-change-sms-count-down-timer' into beta 2024-10-10 20:11:04 +01:00
Graham Jones
279534fc16 Revert "Started to add a simplified default main screen."
This reverts commit 83df18d77b.
2024-10-10 19:57:44 +01:00
Graham Jones
4768fcd352 Added setting to allow the user to change the delay period before SMS alert is sent (fixes #202) 2024-10-10 19:19:19 +01:00
Graham Jones
83df18d77b Started to add a simplified default main screen. 2024-10-10 18:14:04 +01:00
Graham Jones
db60f7f095 Updated permissions handling so it can target Android 14 (API 34) which is a requirement of Play Store 2024-07-12 20:36:09 +01:00
Graham Jones
c483795d44 Added settings to configure the flap detector algorithm 2024-06-30 23:00:05 +01:00
Graham Jones
404bc3108d Added crude flap detector to detect arm flapping motion in addition to default OSD shaking detector - all hard coded - not for public release!! 2024-06-29 21:27:51 +01:00
Graham Jones
e641f27829 Fixed crash if LogManager fails to start (FIXES #196) 2024-06-14 14:46:52 +01:00
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
ad72bb6fc0 Merge branch 'V4.2.x' 2024-05-27 21:03:55 +01:00
Graham Jones
d61539f980 Build V4.2.8 for play store 2024-05-09 22:01:43 +01:00
Graham Jones
a2ae6b939c Added CNN based seizure probability to OSDAlg fragment - addresses #189 and #182 2024-05-09 21:41:04 +01:00
Graham Jones
c492e8616a Altered data source list to show BLE as BangleJS and BLE2 as PineTime 2024-05-09 21:20:15 +01:00
Graham Jones
bc56e842f4 Merge branch 'V4.2.x' into 178-v427-banglejs2-does-not-work-with-new-ble2-data-source 2024-05-09 20:37:15 +01:00
Graham Jones
bcb5f80df5 Added exception catching to updateUI in an attempt to fix #176 2024-05-08 21:56:51 +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
951f6b176a Update version number and logcat strings to help with debugging 2024-05-07 21:15:35 +01:00
Graham Jones
27c7f7be7e Minor UI tidying up, built V4.2.7 for play store 2024-04-14 20:26:05 +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
5a14836df6 Updated changelog for V4.2.6 build 2024-04-13 22:37:28 +01:00
Graham Jones
dad8df1c15 Built V4.2.6 for beta testing 2024-04-13 22:23:37 +01:00
Graham Jones
bb8330db1c Fixed minor data time period and BLE device MAC address display issues 2024-04-13 22:18:27 +01:00
Graham Jones
50fdf237b9 Enabled battery history fragment of main activity 2024-04-13 22:00:30 +01:00
Graham Jones
1ad6d2b228 Added watch connection signal strength trend graph (will only work for BLE2 data source at the moment!) 2024-04-13 21:39:30 +01:00
Graham Jones
163dd0f4d9 Added a circular buffer to store 4 hours worth of watch signal strength for a graph 2024-04-13 21:09:50 +01:00
Graham Jones
568c932101 Added watch data to system fragment on main display, including watch signal strength 2024-04-13 21:00:03 +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
a82a71f413 Having trouble with Bluetooth permissions - made a few changes and it seems to be working again, but needs testing on a couple of devices 2024-04-12 19:25:59 +01:00
Graham Jones
0dbb735517 bumped version number 2024-04-11 20:41:11 +01:00
Graham Jones
beeb6abe49 Added check that we need BT permissions for BLE2 data source as well as BLE data source. 2024-04-11 20:25:01 +01:00
Graham Jones
dcbf8028b1 Added longer delay between shutting down data source and re-starting it to make sure it shuts down properly. **We should really check it is shutdown before re-starting it!!** 2024-04-11 20:15:08 +01:00
Graham Jones
b0ce331731 Added some try/catch blocks in SdDataSourceBLE2 to avoid crashes during shutdown. Re-introduced a data source re-start when we do a fault beep to try to rectify the problem 2024-04-11 20:00:13 +01:00
Graham Jones
c23176ca8e Bound and unbound from service in Fragment onResume and onPause so we don't have so many things bound to the service at once 2024-04-11 19:42:35 +01:00
Graham Jones
532c2f0741 Added population of device info from BLE2 data source, and added auto-reconnect if the device disconnects. Note, if it disconnects for too long, the Pinetime goes to sleep and you need to press the button to re-enable it to clear the FAULT condition. This needs a PineTime firmware change to fix it. 2024-04-11 16:13:47 +01:00
Graham Jones
24cf171952 Fixed BLE2 shutdown - I think 2024-04-11 10:31:31 +01:00
Graham Jones
1dc2acdc61 Saved settings properly -starts ok now. Still need to sort out shut down and automatic reconnection 2024-04-10 22:56:10 +01:00
Graham Jones
0685215f2f BLE2 data source seems to be running on PineTime. Sart-up activity stuck on settings though 2024-04-10 22:46:48 +01:00
Graham Jones
26ab724410 enabled new BLE2 data source - not working yet! 2024-04-10 20:51:09 +01:00
Graham Jones
6ca038b514 Made CNN Alarm Disabled by default to reduce false alarms (Fixes #170) 2024-04-09 22:00:51 +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
b39aaa2805 fixed errors about getDrawable() from progress bars. 2024-04-06 20:53:16 +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