Commit Graph

528 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 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
Graham Jones 6a98054857 Added code to check if battery optimisation is switched on...but it does not seem to work 2022-01-29 21:10:38 +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 4d1c217109 Merge branch 'Logging' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into Logging 2022-01-23 19:56:35 +00:00
Graham Jones 9f870e69af Added checks for null response in volly error callbacks to stop it crashing if there is no network connection. 2022-01-23 19:56:25 +00:00
Graham Jones 0bf9567bfb Added checks for null response in volly error callbacks to stop it crashing if there is no network connection. 2022-01-23 06:43:57 +00:00
Graham Jones 990b9e345c Setting up test framework for logmanager - does not do anything useful yet! 2022-01-23 06:29:43 +00:00
Graham Jones 8c7cd852bb Converted all localDB select queries to async tasks 2022-01-21 22:34:55 +00:00
Graham Jones 40251112b6 Updated getEventsList to use a generic asynctask class for doing queries - seems to work so will convert the other 'get' functions to use it 2022-01-21 20:31:01 +00:00
Graham Jones 29bb02b963 Converted some localDB operations to AsyncTask to avoid hogging the UI thread 2022-01-21 11:50:21 +00:00
Graham Jones 13200e95b5 Added OSD Alarm state and refresh button to EditEventActivity 2022-01-21 10:40:16 +00:00
Graham Jones c052178082 LogManagerActivity now displays remote database events and allows editing 2022-01-19 21:01:03 +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 a4a1faf67c getEvent seems to be working... 2022-01-17 23:04:43 +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