Commit Graph
100 Commits
Author SHA1 Message Date
Graham Jones 2318af9be7 V4.0.1a - first go with working CNN seizure detector. 2022-09-20 18:29: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 34eb763ccd V4.1.0a - neural network model runs and prints pSeizure to logcat. 2022-09-20 11:55:34 +01:00
Graham Jones ec704029bd Build ov V4.0.7 2022-08-06 21:51:20 +01:00
Graham Jones 6c8541091c corrected some logcat messages 2022-08-06 21:30:30 +01:00
Graham Jones c8c62db447 Changed default local data retention period to 7 days from 28 to reduce local database access times - work around for #63 2022-08-06 20:56:23 +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 3fa884dcfb Added catch for null pointer exception - fixes #61 2022-08-06 20:37:00 +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 0ea3cd91f3 Disabled repeat updating of data log manager screen so you can scroll right down the list of events without it jumping back to the start when it refreshes. 2022-08-06 19:22:46 +01:00
Graham Jones 7aba4835e0 Merge branch 'Logging' into main - V4.0.6 2022-06-05 20:20:23 +01:00
Graham Jones 443aa67067 Fixed issue with O2sat data not being recorded to data sharing database - V4.0.6 2022-06-04 23:10:43 +01:00
Graham Jones a66709e5ba V4.0.5 - add support for 3d data logging + minor bug fixes 2022-06-04 21:38:19 +01:00
Graham Jones 6a0ff7e4c1 V4.0.5c - support for 3d acceleration data 2022-06-03 21:14:51 +01:00
Graham Jones 4774c0cdd5 Added app version name to logged JSON data 2022-05-28 22:03:26 +01:00
Graham Jones 6525a8ee8e Fixed issue with quotes in seizure description crashing the app 2022-05-28 21:24:17 +01:00
Graham Jones 03d3ea6269 First go at adding support for 3d Data - it still expects 1D data to be provided and uses that - the 3d data is just passed through to the JSON strings stored in the database or sent by the web interface on request. NOT TESTED!!!! 2022-04-24 21:06:55 +01:00
Graham Jones 57a7d87fca Update to instructions 2022-04-20 19:43:08 +01:00
Graham Jones 1950d8da8e Added draft of installation instructions powerpoint slides 2022-04-16 21:49:25 +01:00
Graham Jones 9d0db26cd6 V4.0.4 - Added data source name to event data, tidied upgrade changelog text. 2022-04-14 11:03:24 +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 0d772f230b Reduced amount of settings data stored in datapoints table to reduce storage. Modified sdserver so that remote logging is disabled when using network datasource to avoid duplication of data. 2022-04-12 17:05:55 +01:00
Graham Jones 3e9ec5ed81 Added dataJSON field to events table so we can store watch app version etc. with the event rather than every datapoint. 2022-04-11 23:47:15 +01:00
Graham Jones 9a07633276 Added confirm dialog to the "mark unvalidated events as unknown" function. 2022-04-11 20:48:22 +01:00
Graham Jones 888bac243c Added an option to mark all unverified events as unknown (to get rid of warning about unvalidated events if you have a lot of them) 2022-04-10 22:24:15 +01:00
Graham Jones 2be8088f0e Merge branch 'Logging_firebase' into Logging 2022-04-10 21:23:51 +01:00
Graham Jones 2f326e6301 Updated changelog for V4.1 2022-04-10 21:18:11 +01:00
Graham Jones 4c3eee1454 Sorting out issues with IDs being assumed to be Long integers, and fixed problem with duplicate event uploads for manual alarm events. 2022-04-10 20:46:55 +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 c0cfdbf8f7 Merged osdapi code into AuthenticateActivity firebase version 2022-04-09 20:13:43 +01:00
Graham Jones 9ec3e05e74 Compiles using abstract WebApiConnection. Choice of backend is hard coded in LogManager. Authenticate Activity will now work with osdapi backend yet - needs to switch UI depending on which backend is in use. 2022-04-07 22:10:43 +01:00
Graham Jones 3e452444b9 Starting conversion of WebApiConnection to be abstract so we can have both the firebase and osdapi versions in the same codebase... 2022-04-07 21:54:42 +01:00
Graham Jones 5c633e3fdd Prevent crash when sending SMS message if the mLocationFinder variable is null - don't know why it would ever be null, but a user reported a crash in this condition. 2022-03-24 20:46:45 +00:00
Graham Jones 6f4778b58c Fixed unvalidated events notification and possible crash when sending SMS if mLocationFinder is null (As reported by a user) 2022-03-24 20:37:26 +00:00
Graham Jones dc8a57c60e Ordered events list in descending time order, so newest is at the top of the list 2022-03-24 09:02:09 +00:00
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 ed1de99044 V4.0.1 Fixed crash in report seizure function 2022-03-23 19:26:50 +00: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 eb5d9c793a Uploading events and datapoints to Firebase looks like it is working - few crashes and "error connecting to server" messages to sort out still. 2022-03-20 20:19:26 +00:00
Graham Jones ee70ecf927 Fixed two issues with V4.1 - main activity shows not logged in to data sharing when it is, and report seizure screen crashes when selecting date. 2022-03-20 18:53:50 +00:00
Graham Jones bfa9668f29 More progress in converting database to Firebase...and to complicate matters added a local events database rather than extracting them from the much larger datapoints table each time. 2022-03-19 22:02:28 +00:00
Graham Jones f509e470d4 Finished initial conversion of WebApiConnection to use Firebase. Need to update LogManager to use string IDs to make it compatible. 2022-03-18 21:01:59 +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 90f8b4fdcf Updated wording of permissions disclosures to comply with Google Play Store requirements (I hope!) 2022-03-11 12:25:36 +00:00
Graham Jones 475f9f2db0 Updated About... text to include reference to Privacy Policy 2022-03-11 11:44:41 +00:00
Graham Jones 975289e2bb switched latch alarm button back to gray colour after sms cancel button shown (was staying red) 2022-03-10 21:34:47 +00:00
Graham Jones 2b1e943536 Fixed crash when datapoints to upload list had zero length - don't know why it ever worked! 2022-03-10 21:10:14 +00:00
Graham Jones fcbd8e95e0 Fixed issue with all events being uploaded as WARNING type even if they contain ALARM events. Fixes #37 2022-03-10 20:43:30 +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 bbf988e685 Merge branch 'BLE' into Logging 2022-03-09 21:26:04 +00:00
Graham Jones a26a4ff21b Merge pull request #44 from rennard/patch-1
Update SdDataSourceBLE.java
2022-03-09 21:15:54 +00:00
Graham Jones f4f3da2aa9 Merge branch 'Logging' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into Logging (Update of startup activity UI timer and changelog) 2022-03-05 19:07:24 +00:00
Graham Jones e8a981a1ce V4.0.0t - Improved (again) permissions declarations to comply with Google Play requirements, and fixed some potential crashes in the event of network interruption. 2022-03-05 19:06:20 +00:00
Graham Jones 7432fb63a5 V4.0.0t - Improved (again) permissions declarations to comply with Google Play requirements, and fixed some potential crashes in the event of network interruption. 2022-03-05 16:28:29 +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 8371171be4 Added explicit finish() to prefActivity because we see the occasional crash on system exit, which is new... 2022-03-04 19:41:09 +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 e2613a3fb7 Version 4.0.0p - restored compatibility with Android 6 and converted to AndroidX and AppCompat support libraries. 2022-03-01 23:57:57 +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 938b9c1f29 Converted to use AndroidX support library using Android Studio Refactor tool. 2022-03-01 23:42:12 +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 0eb4a4ac2e Draft version 4.0.0m - fixed minor issues with O2sat display and data sharing error showing before first check for events. 2022-02-28 21:13:28 +00:00
Graham Jones 102375ac67 Moved code to check for unvalidated events into separate function so we can call it from both OnStart and at end of EventsTimer so we do not get an error showing on the display while waiting for first check. 2022-02-28 21:08:47 +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 46eafc4861 Upgraded gradle plugin and updated to target APK30 for Google Play Store 2022-02-27 22:07:45 +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 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 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 3656b74733 Draft Release 4.0.0i - tidied up settings fixed UI crashes if server not running and (hopefully) solved issue of server not shutting down properly sometimes. 2022-02-20 20:37:30 +00:00
Graham Jones 42ede93257 Merge branch 'Logging' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into Logging 2022-02-20 20:35:37 +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 7ae102d4c3 Fixed issue with V4 refusing to shutdown after logging into the data sharing system....I think :) 2022-02-20 19:58:32 +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 0002be1782 Merge branch 'Logging' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into Logging 2022-02-18 23:33:38 +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 4872178845 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 22:35:07 +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 6aad276777 Merge branch 'Logging' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into Logging 2022-02-13 22:14:46 +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 26fb3f6811 Progress with app shutdown - it now usually shuts down correctly, but logging out of data sharing is still a problem. 2022-02-11 06:44:31 +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 93e68dfb0b Draft D of V4.0.0 built 2022-01-29 22:03:38 +00:00