Commit Graph

149 Commits

Author SHA1 Message Date
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
070fdd9aec Added event ID to data log manager so users can refer to it when asking for advice. 2022-02-23 22:15:24 +00:00
Graham Jones
7148121a36 Moved system logging to use sqlite database rather than file - removed need for access external strage permission. 2022-02-22 22:21:36 +00:00
Graham Jones
256536fa4f Minor tidying up - removing unused variables etc. 2022-02-21 20:13:57 +00:00
Graham Jones
66bf139d09 Fixed issue with V4 refusing to shutdown after logging into the data sharing system....I think :) 2022-02-20 20:32:13 +00:00
Graham Jones
40b7c3c38a Tidied up settings screens and removed redundant settings to make it simpler. 2022-02-20 15:55:52 +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
e7e8f79346 Separated data log manager into two screens (local and remote) to simplify interface 2022-02-09 07:36:20 +00:00
Graham Jones
b53e646cb5 Simplified data log manager using radio button to select and deselect different parts of the UI 2022-02-05 22:31:28 +00:00
Graham Jones
4fb83d04c9 Added check of system battery usage optimisation with dialog to prompt user to disable it. 2022-02-05 20:40:32 +00:00
Graham Jones
dd7c01b8ea Fixed data sharing status box text on MainActivity. 2022-02-03 20:44:09 +00:00
Graham Jones
d911d89e34 Added error checking for network connection issues - MainActivity logic needs correcting though - Airoplane mode shows as ok 2022-02-02 22:17:43 +00:00
Graham Jones
c12a8097c6 Corrected issue with default AlarmFreqMin setting - changed to 8Hz 2022-02-01 22:42:31 +00:00
Graham Jones
87088c63b9 Added checks on network status to data sharing status area 2022-02-01 22:40:05 +00:00
Graham Jones
d2874cc031 Added dividers in main activity menu 2022-01-31 21:18:43 +00:00
Graham Jones
c6a838fe1d Changed LogManagerControlActivity to slow down UI updates once the UI is populated, not stop them alltogether 2022-01-29 20:52:29 +00:00
Graham Jones
02510d455d Updated text from 'Remote Database' to 'Share Data' 2022-01-29 20:14:09 +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
7f9a61c2a5 Added New User Registration button to authentication activity 2022-01-27 15:05:11 +00:00
Graham Jones
203ffdc07f Added notification of unvalidated events in the database that will take user to the log manager activity 2022-01-26 20:54:25 +00:00
Graham Jones
27a508ce88 Tidying up Authenticate activity 2022-01-26 19:15:52 +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
13200e95b5 Added OSD Alarm state and refresh button to EditEventActivity 2022-01-21 10:40:16 +00:00
Graham Jones
0469604fef EditEventActivity now retrieves data and saves it back to the remote database 2022-01-19 19:01:48 +00:00
Graham Jones
cd5ef5192a Modified EditEvent to use radiobuttons 2022-01-17 22:26:23 +00:00
Graham Jones
307a268c4a Converted eventType from listview to radiogroup 2022-01-17 19:56:40 +00:00
Graham Jones
ff9bb06241 Populating ListViews for Event type and sub-type, but can't get the selected one to highlight. Will change to use spinners instead. 2022-01-17 18:34:49 +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
fefca589dd Tidied up mute alarms button wording (in English!) to avoid the button expanding when muted. 2022-01-10 19:02:07 +00:00
Graham Jones
6f883cc318 Added 'Raise Alarm' button on main screen 2022-01-10 16:42:02 +00:00
Graham Jones
38f6e3233f Added upload status to event list in local database. Added (non-functioning) click listener ready to open a new activity to edit the remote database event entry. 2022-01-08 22:01:23 +00:00
Graham Jones
276f14afba Added data logging preferences to settings page 2022-01-07 22:05:30 +00:00
Graham Jones
5294353bcf Report seizure function now seems to be working. Added list of events to LogManagerControlActivity. Removed redundant files that look similar to the working code. 2022-01-07 20:02:06 +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
58a62d1469 Deleting some unused files to tidy up the repository 2022-01-05 18:13:45 +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
68bf89b0ff Added prune database option to limit size of local database 2022-01-04 21:08:33 +00:00
Graham Jones
7ffdb3c3dc Setting up basic infrastructure for uploading events and datapoints to remote API server. Next step is to upload the required datapoints for each event, and handle network failures etc. 2022-01-03 18:40:45 +00:00
Graham Jones
bec437e858 Started adding code to create a datapoint - getting error 405 "POST Not Allowed", which might be an issue with the API 2021-12-16 21:45:08 +00:00
Graham Jones
20f79264fe Fixed authentication UI - it will now save the token to persistent storage and the logout button deletes the stored token 2021-12-12 22:49:30 +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
5a2a93363c Merge branch 'BLE' into O2SAT 2021-11-09 08:16:01 +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