4017cfac79
Fixed problem with Android 11 permissions preventing location based SMS text messages sending.
Graham Jones
2022-03-04 16:46:41 +00:00
d6b397b6e2
Added Slovenian translation (from Andrej Žgavec). Had to update build.gradle dependencies to get it to compile
Graham Jones
2022-03-02 23:32:14 +00:00
e2613a3fb7
Version 4.0.0p - restored compatibility with Android 6 and converted to AndroidX and AppCompat support libraries.
Graham Jones
2022-03-01 23:57:57 +00:00
a8d3b5cc4d
Used Android Studio Refactor tool to convert to AppCompat (had to change some references back to just Activity to get it to compile
Graham Jones
2022-03-01 23:48:30 +00:00
938b9c1f29
Converted to use AndroidX support library using Android Studio Refactor tool.
Graham Jones
2022-03-01 23:42:12 +00:00
4b67646eea
Updated to restore compatibility with Android V6 (removed use of Consumer for callbacks)
Graham Jones
2022-03-01 23:34:46 +00:00
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.
Graham Jones
2022-03-01 13:55:44 +00:00
0eb4a4ac2e
Draft version 4.0.0m - fixed minor issues with O2sat display and data sharing error showing before first check for events.
Graham Jones
2022-02-28 21:13:28 +00:00
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.
Graham Jones
2022-02-28 21:08:47 +00:00
93f9d1ab11
Fixed issue with O2sat being displayed as -1% if there is no O2 sensor - now shows '---%' for no data.
Graham Jones
2022-02-28 20:33:43 +00:00
a53131409d
Incremented version code to 93 to keep Google Play store happy...
Graham Jones
2022-02-27 22:28:26 +00:00
46eafc4861
Upgraded gradle plugin and updated to target APK30 for Google Play Store
Graham Jones
2022-02-27 22:07:45 +00:00
568bd98f27
Version 4.0.0 for Beta testing
Graham Jones
2022-02-27 21:08:37 +00:00
dc27b5eb67
Added notification to alert the user if data sharing is not enabled, and provide information on why it is good to enable it.
Graham Jones
2022-02-27 19:43:01 +00:00
26690efa11
Version 4.0.0k - Added userId and username to authenticate activity so user knows who they are logged in as.
Graham Jones
2022-02-25 21:42:10 +00:00
070fdd9aec
Added event ID to data log manager so users can refer to it when asking for advice.
Graham Jones
2022-02-23 22:15:24 +00:00
7148121a36
Moved system logging to use sqlite database rather than file - removed need for access external strage permission.
Graham Jones
2022-02-22 22:21:36 +00:00
256536fa4f
Minor tidying up - removing unused variables etc.
Graham Jones
2022-02-21 20:13:57 +00:00
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.
Graham Jones
2022-02-21 12:23:31 +00:00
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.
Graham Jones
2022-02-20 20:37:30 +00:00
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).
Graham Jones
2022-02-18 22:35:07 +00:00
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).
Graham Jones
2022-02-18 22:35:07 +00:00
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!
Graham Jones
2022-02-14 20:18:38 +00:00
ed5863b16a
Progress with app shutdown - it now usually shuts down correctly, but logging out of data sharing is still a problem.
Graham Jones
2022-02-11 06:44:31 +00:00
26fb3f6811
Progress with app shutdown - it now usually shuts down correctly, but logging out of data sharing is still a problem.
Graham Jones
2022-02-11 06:44:31 +00:00
b24c448528
Tidied up shared data manager and added highlighting for unconfirmed seizures and real seizures.
Graham Jones
2022-02-09 19:53:55 +00:00
e7e8f79346
Separated data log manager into two screens (local and remote) to simplify interface
Graham Jones
2022-02-09 07:36:20 +00:00
b53e646cb5
Simplified data log manager using radio button to select and deselect different parts of the UI
Graham Jones
2022-02-05 22:31:28 +00:00
4fb83d04c9
Added check of system battery usage optimisation with dialog to prompt user to disable it.
Graham Jones
2022-02-05 20:40:32 +00:00
dd7c01b8ea
Fixed data sharing status box text on MainActivity.
Graham Jones
2022-02-03 20:44:09 +00:00
d911d89e34
Added error checking for network connection issues - MainActivity logic needs correcting though - Airoplane mode shows as ok
Graham Jones
2022-02-02 22:17:43 +00:00
c12a8097c6
Corrected issue with default AlarmFreqMin setting - changed to 8Hz
Graham Jones
2022-02-01 22:42:31 +00:00
87088c63b9
Added checks on network status to data sharing status area
Graham Jones
2022-02-01 22:40:05 +00:00
d2874cc031
Added dividers in main activity menu
Graham Jones
2022-01-31 21:18:43 +00:00
93e68dfb0b
Draft D of V4.0.0 built
Graham Jones
2022-01-29 22:03:38 +00:00
6a98054857
Added code to check if battery optimisation is switched on...but it does not seem to work
Graham Jones
2022-01-29 21:10:38 +00:00
c6a838fe1d
Changed LogManagerControlActivity to slow down UI updates once the UI is populated, not stop them alltogether
Graham Jones
2022-01-29 20:52:29 +00:00
02510d455d
Updated text from 'Remote Database' to 'Share Data'
Graham Jones
2022-01-29 20:14:09 +00:00
e973154896
Added data sharing status text field to main activity
Graham Jones
2022-01-29 19:57:56 +00:00
fd1aff80b1
Fixed problem with default logging preference settings being incorrect
Graham Jones
2022-01-28 23:04:44 +00:00
438f0cb0b9
Tidied up menus and button labels - call this version 4.0.0a - very alpha but it does most of what it needs to :)
Graham Jones
2022-01-27 22:46:32 +00:00
7f9a61c2a5
Added New User Registration button to authentication activity
Graham Jones
2022-01-27 15:05:11 +00:00
203ffdc07f
Added notification of unvalidated events in the database that will take user to the log manager activity
Graham Jones
2022-01-26 20:54:25 +00:00
27a508ce88
Tidying up Authenticate activity
Graham Jones
2022-01-26 19:15:52 +00:00
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.
Graham Jones
2022-01-23 22:13:38 +00:00
9f870e69af
Added checks for null response in volly error callbacks to stop it crashing if there is no network connection.
Graham Jones
2022-01-23 06:43:57 +00:00
0bf9567bfb
Added checks for null response in volly error callbacks to stop it crashing if there is no network connection.
Graham Jones
2022-01-23 06:43:57 +00:00
990b9e345c
Setting up test framework for logmanager - does not do anything useful yet!
Graham Jones
2022-01-23 06:29:43 +00:00
8c7cd852bb
Converted all localDB select queries to async tasks
Graham Jones
2022-01-21 22:34:55 +00:00
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
Graham Jones
2022-01-21 20:31:01 +00:00
29bb02b963
Converted some localDB operations to AsyncTask to avoid hogging the UI thread
Graham Jones
2022-01-21 11:50:21 +00:00
13200e95b5
Added OSD Alarm state and refresh button to EditEventActivity
Graham Jones
2022-01-21 10:40:16 +00:00
c052178082
LogManagerActivity now displays remote database events and allows editing
Graham Jones
2022-01-19 21:01:03 +00:00
0469604fef
EditEventActivity now retrieves data and saves it back to the remote database
Graham Jones
2022-01-19 19:01:48 +00:00
a4a1faf67c
getEvent seems to be working...
Graham Jones
2022-01-17 23:04:43 +00:00
cd5ef5192a
Modified EditEvent to use radiobuttons
Graham Jones
2022-01-17 22:26:23 +00:00
307a268c4a
Converted eventType from listview to radiogroup
Graham Jones
2022-01-17 19:56:40 +00:00
ff9bb06241
Populating ListViews for Event type and sub-type, but can't get the selected one to highlight. Will change to use spinners instead.
Graham Jones
2022-01-17 18:34:49 +00:00
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.
Graham Jones
2022-01-15 22:16:37 +00:00
01e07f2e12
Disabled logging data to CSV file now we have the database data logging working
Graham Jones
2022-01-10 20:39:31 +00:00
dc5719c64c
Added delay to allow activity to bind to server before trying to access server variables.
Graham Jones
2022-01-10 20:29:36 +00:00
783abd93f0
Converted LogManagerControlActivity to use the SdServer LogManager instance rather than a separate one - just in case it causes problems...
Graham Jones
2022-01-10 19:40:20 +00:00
fefca589dd
Tidied up mute alarms button wording (in English!) to avoid the button expanding when muted.
Graham Jones
2022-01-10 19:02:07 +00:00
6f883cc318
Added 'Raise Alarm' button on main screen
Graham Jones
2022-01-10 16:31:25 +00:00
ef27ba430d
Added 'Raise Alarm' button on main screen
Graham Jones
2022-01-10 16:31:25 +00:00
ee2e5042ec
Store remote event Id in local database uploaded field.
Graham Jones
2022-01-09 23:08:00 +00:00
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.
Graham Jones
2022-01-08 22:01:23 +00:00
276f14afba
Added data logging preferences to settings page
Graham Jones
2022-01-07 22:05:30 +00:00
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.
Graham Jones
2022-01-07 20:02:06 +00:00
f303adef50
Added 'Report Seizure' activity. UI seems to work, but database part that looks for the closest datapoint is not working.
Graham Jones
2022-01-05 21:55:50 +00:00
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.
Graham Jones
2022-01-05 19:49:23 +00:00
58a62d1469
Deleting some unused files to tidy up the repository
Graham Jones
2022-01-05 18:13:45 +00:00
8a2bbd1cfb
Added LogManagerControl activity to view and control the status of the LogManager
Graham Jones
2022-01-05 18:03:46 +00:00
93c0fc91cc
Fixed two issues: Now uploads raw data as well as processed data and will upload ALARM events in preference to WARNING events (you only get one ALARM event uploaded even if the data goes OK->WARNING->ALARM->WARNING->OK
Graham Jones
2022-01-05 10:41:50 +00:00
68bf89b0ff
Added prune database option to limit size of local database
Graham Jones
2022-01-04 21:08:33 +00:00
0715ce4f44
Fixed issue with 12 hour times - now uses 24 hour times.
Graham Jones
2022-01-04 20:41:54 +00:00
fbb3563f3a
Uploading event followed by associated datapoints sort of working. Issues: Using 12 hour clock for date, for a sequence of warning->alarm->warning it is the first warning that is uploaded not the alarm.
Graham Jones
2022-01-04 20:32:03 +00:00
5ac594e81f
Sorted out issue with date formats being different for mysql and sqlite - we can now select from local db based on date range.
Graham Jones
2022-01-04 11:53:22 +00:00
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.
Graham Jones
2022-01-03 18:40:45 +00:00
361e4a09fd
Progressing with uploading datapoints to the server...not working yet...
Graham Jones
2021-12-17 05:56:36 +00:00
bec437e858
Started adding code to create a datapoint - getting error 405 "POST Not Allowed", which might be an issue with the API
Graham Jones
2021-12-16 21:45:08 +00:00
6031436cc8
Edded function to create new event in remote database
Graham Jones
2021-12-16 20:37:11 +00:00
20f79264fe
Fixed authentication UI - it will now save the token to persistent storage and the logout button deletes the stored token
Graham Jones
2021-12-12 22:49:30 +00:00
32ab7d4229
I think we have authentication working - need to test to make sure it saves the token and not a load of extra http response stuff though.
Graham Jones
2021-12-12 15:05:24 +00:00
0a405af092
Starting on an Autenticate activity to obtain access token - the POST parameters are not working yet....
Graham Jones
2021-12-12 06:21:19 +00:00
276c9d7d1c
Re-enabled logging to local db
Graham Jones
2021-12-10 21:39:52 +00:00
35ba15c3d9
Added compiled version 3.7.0b which includes recent BLE data source code as well as oxygen saturation test code
Graham Jones
2021-11-13 19:32:00 +00:00
d2840d5958
Merge branch 'BLE' into O2SAT
Graham Jones
2021-11-09 21:22:22 +00:00
2010ed6117
Updated permissions and changed to more recent BLE api to try to get scanning working.
Graham Jones
2021-11-09 21:03:17 +00:00
5a2a93363c
Merge branch 'BLE' into O2SAT
Graham Jones
2021-11-09 08:16:01 +00:00
8f14364a90
Added built test version to try out O2 saturation
Graham Jones
2021-11-08 21:12:51 +00:00
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.
Graham Jones
2021-11-08 21:10:00 +00:00