Commit Graph

126 Commits

Author SHA1 Message Date
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
ach80 d0efcf4aee Update strings.xml 2021-01-20 19:40:50 +01:00
Graham Jones 8b3e5f418e Added updated 'install watch app' polish text 2020-12-26 21:45:13 +00:00
Graham Jones 08a44d8127 V3.6.2 - Fix file permissions issue with Android 10 by using official internal storage folder. 2020-12-26 11:45:50 +00:00
Graham Jones 4587d5b944 Fixed stray english phrase in seizure detector settings screen, and changed "Garmin Datasource" to "Datasource = Garmin" to make the grammar easier in translations. 2020-12-22 21:10:53 +00:00
Graham Jones 34ab29f9df Added more polish translations. 2020-12-20 22:27:41 +00:00
Graham Jones 2e32ab21ca Fixed issue with apostrophes in Polish Translation 2020-12-20 20:46:32 +00:00
Graham Jones a18e2bfe4f Made more settings strings translatable 2020-12-20 20:42:00 +00:00
Graham Jones 207c7bfb02 Added additional polish translations 2020-12-20 19:36:27 +00:00
Graham Jones fc982d37ce V3.6.2b - extracted more strings for translation 2020-12-18 13:32:41 +00:00
Graham Jones c4094b25dd V3.6.2a - possible fix of Android 10 log file permissions problem? 2020-12-10 13:50:41 +00:00
Graham Jones 2312b44ee8 V3.6.1 - Possible fix for failure to shutdown problem, and expanded polish translation to all settings screens. 2020-11-13 13:21:25 +00:00
Graham Jones 3c1d9d10a8 Fixed (I hope) crash during server restart reported during testing, plus minor UI errors corrections. 2020-11-08 19:09:01 +00:00
Graham Jones f09a3ad59f Updated Polish translation for extra translatable strings. 2020-11-04 20:33:45 +00:00
Graham Jones ee89e9acbe extracted more strings for translations 2020-10-28 22:04:28 +00:00
Graham Jones 48b4a1e114 Adding more translations... 2020-10-28 21:24:23 +00:00
Graham Jones 4616a0ab64 Added extra translatable strings for preference headers 2020-10-17 22:13:46 +01:00
Graham Jones 217b8e7769 Added Polish Translation and built test release V3.6.1a 2020-10-03 16:22:22 +01:00
Graham Jones fb4597284d V3.6.0 - Added phone sensor data source for demonstration / testing without a watch 2020-09-13 21:41:33 +01:00
Graham Jones f2b3f767c2 Build of V3.5.0a for testing. Includes fix of BLE datasource not shutting down on request, and possible fix of the 'mToneGenerator is null' error. 2020-08-22 21:48:41 +01:00
Graham Jones 47d6df65a0 Merge branch 'V3.4' into V3.5 2020-08-22 11:13:49 +01:00
Graham Jones 9047a86544 Added UUID string to text messages to identify them as being from OpenSeizureDetector 2020-08-22 11:04:11 +01:00
Graham Jones 8c4b8e3661 Build of V3.5.0 - Beta Test of Phone Call Alerts. 2020-08-20 22:02:06 +01:00
Graham Jones 9ca16954d0 First go at generating broadcasts to request openseizuredetector Dialler to generate phone call alerts. 2020-08-20 21:15:58 +01:00