Commit Graph

194 Commits

Author SHA1 Message Date
Graham Jones
883b22a634 Got event editor working and manual reporting of seizures. Fixed a few crashes from event upload so should probably check the logic because I don't think it should have crashed! 2022-03-23 21:14:23 +00:00
Graham Jones
542fc42e5d Starting to convert to Google Firebase backend. Authentication working and starting on WebApiConnection 2022-03-18 18:13:07 +00:00
Graham Jones
5b877820c4 V4.0.0 - updated about dialog text to make it tidier. Added buttons for privacy policy to dialogs. 2022-03-11 18:33:51 +00:00
Graham Jones
7d307529b4 Added cancel buttons to permissions dialogs. Fixed crash from issue #45 2022-03-10 19:51:23 +00:00
Graham Jones
1bd7eb7314 Updated Permissions requests to split into 3 groups, and made the rationale screens consistent with the 'Prominent Disclosure' text required by Google Play Store. 2022-03-05 16:16:05 +00:00
Graham Jones
952a4a9304 V4.0.0s - fixed issue with system not shutting down properly after enabling SMS alarms. 2022-03-04 20:47:34 +00:00
Graham Jones
4017cfac79 Fixed problem with Android 11 permissions preventing location based SMS text messages sending. 2022-03-04 16:46:41 +00:00
Graham Jones
d6b397b6e2 Added Slovenian translation (from Andrej Žgavec). Had to update build.gradle dependencies to get it to compile 2022-03-02 23:32:14 +00:00
Graham Jones
4b67646eea Updated to restore compatibility with Android V6 (removed use of Consumer for callbacks) 2022-03-01 23:34:46 +00:00
Graham Jones
8b196f4f37 V4.0.0n - Fixed issue with system not being able to shut down after using the EditEvent activity. Improvements to wording of about and intorduction dialogs. 2022-03-01 13:55:44 +00:00
Graham Jones
93f9d1ab11 Fixed issue with O2sat being displayed as -1% if there is no O2 sensor - now shows '---%' for no data. 2022-02-28 20:33:43 +00:00
Graham Jones
a53131409d Incremented version code to 93 to keep Google Play store happy... 2022-02-27 22:28:26 +00:00
Graham Jones
568bd98f27 Version 4.0.0 for Beta testing 2022-02-27 21:08:37 +00:00
Graham Jones
dc27b5eb67 Added notification to alert the user if data sharing is not enabled, and provide information on why it is good to enable it. 2022-02-27 19:43:01 +00:00
Graham Jones
26690efa11 Version 4.0.0k - Added userId and username to authenticate activity so user knows who they are logged in as. 2022-02-25 21:42:10 +00:00
Graham Jones
39ea02020f Fixed issue where web server would send data to the analysis routines even if data source is not set to Garmin, causing conflicts with the selected data source. 2022-02-21 12:23:31 +00:00
Graham Jones
1535e1cd2b Fixed but in seizure detection algorithm that meant that the alarmRatioThreshold only really increased in units of 10 (if you specified 50 to 59, it would only alarm if the actual ratio exceeded 60). 2022-02-18 23:32:30 +00:00
Graham Jones
fb4ea0dcad Fixed data log manager crash if there are no remote events, and fixed issue with some versions of sqlite not liking me using 'false' to mean '0' - I don't know why it worked on my test phone! 2022-02-14 20:20:08 +00:00
Graham Jones
ed5863b16a Progress with app shutdown - it now usually shuts down correctly, but logging out of data sharing is still a problem. 2022-02-13 22:14:26 +00:00
Graham Jones
b24c448528 Tidied up shared data manager and added highlighting for unconfirmed seizures and real seizures. 2022-02-09 19:53:55 +00:00
Graham Jones
d2874cc031 Added dividers in main activity menu 2022-01-31 21:18:43 +00:00
Graham Jones
93e68dfb0b Draft D of V4.0.0 built 2022-01-29 22:03:38 +00:00
Graham Jones
e973154896 Added data sharing status text field to main activity 2022-01-29 19:57:56 +00:00
Graham Jones
fd1aff80b1 Fixed problem with default logging preference settings being incorrect 2022-01-28 23:04:44 +00:00
Graham Jones
438f0cb0b9 Tidied up menus and button labels - call this version 4.0.0a - very alpha but it does most of what it needs to :) 2022-01-27 22:46:32 +00:00
Graham Jones
bdd7b49358 Updated WebApiConnection to use callbacks rather than interfaces, moved the shared preference handling code into SdServer so it is all together. Updated the various activities to use the single instance of LogManager and WebApiConnection in SdServer rather than creating new instances which are likely to resuld in duplicate data being uploaded. 2022-01-23 22:13:38 +00:00
Graham Jones
1c20387753 Added edit event activity. Populates event type and sub-type from file stored on remote server. Needs to actually retrieve the event data from the remote database and save it befor eit is working properly. 2022-01-15 22:16:37 +00:00
Graham Jones
f303adef50 Added 'Report Seizure' activity. UI seems to work, but database part that looks for the closest datapoint is not working. 2022-01-05 21:55:50 +00:00
Graham Jones
5d9f920b2c Added activity to view the remote database data - needs to point to a (not yet written) ReactJS based page - just shows the API raw data at the moment. 2022-01-05 19:49:23 +00:00
Graham Jones
8a2bbd1cfb Added LogManagerControl activity to view and control the status of the LogManager 2022-01-05 18:03:46 +00:00
Graham Jones
0a405af092 Starting on an Autenticate activity to obtain access token - the POST parameters are not working yet.... 2021-12-12 06:21:19 +00:00
Graham Jones
276c9d7d1c Re-enabled logging to local db 2021-12-10 21:39:52 +00:00
Graham Jones
d2840d5958 Merge branch 'BLE' into O2SAT 2021-11-09 21:22:22 +00:00
Graham Jones
2010ed6117 Updated permissions and changed to more recent BLE api to try to get scanning working. 2021-11-09 21:03:17 +00:00
Graham Jones
d822fcf2e9 First go at adding support for O2 Saturation Data - it expects it to be included in the JSON data string as "O2Sat" in a similar way to heart rate. 2021-11-08 21:10:00 +00:00
Graham Jones
354b692222 Improvements to BLE Scan activity to show more information on what is happening 2021-11-07 19:54:39 +00:00
Graham Jones
72c7247c08 Added ACCESS_BACKGROUND_LOCATION permission to help avoid having to grant permission repeatedly on Android 10 2021-02-12 14:35:51 +00:00
Graham Jones
8b3e5f418e Added updated 'install watch app' polish text 2020-12-26 21:45:13 +00:00
Graham Jones
08a44d8127 V3.6.2 - Fix file permissions issue with Android 10 by using official internal storage folder. 2020-12-26 11:45:50 +00:00
Graham Jones
4587d5b944 Fixed stray english phrase in seizure detector settings screen, and changed "Garmin Datasource" to "Datasource = Garmin" to make the grammar easier in translations. 2020-12-22 21:10:53 +00:00
Graham Jones
2e32ab21ca Fixed issue with apostrophes in Polish Translation 2020-12-20 20:46:32 +00:00
Graham Jones
fc982d37ce V3.6.2b - extracted more strings for translation 2020-12-18 13:32:41 +00:00
Graham Jones
c4094b25dd V3.6.2a - possible fix of Android 10 log file permissions problem? 2020-12-10 13:50:41 +00:00
Graham Jones
277f6f68c5 Re-hashed log files to use system directory - will not fix android 10, but has it working again on my phone.... 2020-12-10 13:40:12 +00:00
Graham Jones
2312b44ee8 V3.6.1 - Possible fix for failure to shutdown problem, and expanded polish translation to all settings screens. 2020-11-13 13:21:25 +00:00
Graham Jones
3c1d9d10a8 Fixed (I hope) crash during server restart reported during testing, plus minor UI errors corrections. 2020-11-08 19:09:01 +00:00
Graham Jones
8a7bf9627c Corrected problem with correct settings screens not showing in non-English languages. 2020-11-07 12:37:04 +00:00
Graham Jones
36285f0d09 Added extra debugging information to log file in the event of an exception during analysis. 2020-11-06 13:39:44 +00:00
Graham Jones
7f368b3655 Added more logging information to syslog for failed parse of JSON raw data string 2020-11-05 19:39:45 +00:00
Graham Jones
13a8240964 Really added the JSON string to the log file output this time... 2020-11-05 14:28:29 +00:00