Commit Graph

79 Commits

Author SHA1 Message Date
Graham Jones
72670bc65b Failed adding of auto-generated fragment based activity 2023-08-30 20:48:27 +01:00
Graham Jones
bfe02682e8 Removed fall detection from main screen algorithms display. Fixes #94 2023-06-10 20:18:17 +01:00
Graham Jones
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
2023-06-06 20:47:10 +01:00
Graham Jones
0a57ff0ae0 Added ExportData function, and fixed issue with fault showing for HR and O2sat. 2023-06-03 19:30:04 +01:00
Graham Jones
3e9c04711f Tidied up default strings for main activity when server not running. 2023-02-06 20:33:40 +00:00
Graham Jones
f504b15717 Fixed issue with location permissions for Android versions <10 (fixes #75), and added more Polish translations by Jacek. 2023-02-04 21:01:40 +00:00
Graham Jones
b65b0814d9 Added some Polish strings 2023-02-03 13:44:02 +00:00
Graham Jones
eb9b0477e4 Merge branch 'V4.0.x' into V4.1.x 2022-10-26 23:08:21 +01:00
Graham Jones
b27653dcbb Added user interface for NDA logging (menu in data log manager) 2022-10-25 20:21:46 +01:00
Graham Jones
726369c308 V4.1.0e - Upgraded cnn to V0.06. Tidied up main menu a bit. Added active algorithm display to main activiy. Pulled all of the algorithm activiation checkboxes to the top of the seizure detection settings so they are easier to find. 2022-09-25 20:20:17 +01:00
Graham Jones
5ec46802a3 Added settings to enable the original OSD or the new neural network algorithms (or both). Display the seizure probability from the neural network on the main screen. Add seizure probability to the data stored with the datapoints in the database. 2022-09-20 16:58:40 +01:00
Graham Jones
e953887a4b Added "Demo Mode" when phone data source is selected and highlighted it in warning colour - fixes #56. 2022-08-06 20:52:45 +01:00
Graham Jones
1eb2333a8d Added option to include warnings in data log manager shared data list - also adds progress bar to show something is happening. Fixes #64 2022-08-06 20:14:14 +01:00
Graham Jones
9148da0597 Added seizure type and notes entry to report seizure activity. V4.0.4b 2022-04-12 23:34:16 +01:00
Graham Jones
18c3331024 Tidied up Authenticate Activity to put Login button below username and password, which is more conventional. 2022-04-12 21:09:06 +01:00
Graham Jones
2f326e6301 Updated changelog for V4.1 2022-04-10 21:18:11 +01:00
Graham Jones
c0fdc10dcd Progressing with making app compatible with either osdapi or firebase backend - still crashing sometimes, so need to fix that...and reported IDs of events look wrong for the osdapi backend. 2022-04-09 21:58:26 +01:00
Graham Jones
7042891ef2 Got remote events list working. Edit event still fails to update firebase with odd error about arrays not being supported...but we are not trying to send an array.... 2022-03-21 22:50: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
a8d3b5cc4d Used Android Studio Refactor tool to convert to AppCompat (had to change some references back to just Activity to get it to compile 2022-03-01 23:48:30 +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
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
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
e973154896 Added data sharing status text field to main activity 2022-01-29 19:57:56 +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
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
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
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