Commit Graph

472 Commits

Author SHA1 Message Date
Graham Jones
ee2e5042ec Store remote event Id in local database uploaded field. 2022-01-09 23:08:00 +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
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 2022-01-05 10:41:50 +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
0715ce4f44 Fixed issue with 12 hour times - now uses 24 hour times. 2022-01-04 20:41:54 +00:00
Graham Jones
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. 2022-01-04 20:32:03 +00:00
Graham Jones
5ac594e81f Sorted out issue with date formats being different for mysql and sqlite - we can now select from local db based on date range. 2022-01-04 11:53:22 +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
361e4a09fd Progressing with uploading datapoints to the server...not working yet... 2021-12-17 05:56:36 +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
6031436cc8 Edded function to create new event in remote database 2021-12-16 20:37:11 +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
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. 2021-12-12 15:05:24 +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
35ba15c3d9 Added compiled version 3.7.0b which includes recent BLE data source code as well as oxygen saturation test code 2021-11-13 19:32:00 +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
8f14364a90 Added built test version to try out O2 saturation 2021-11-08 21:12:51 +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
Graham Jones
eb2aff577f Added extra logging around fall detection code. 2021-11-07 15:54:51 +00:00
Graham Jones
72c7247c08 Added ACCESS_BACKGROUND_LOCATION permission to help avoid having to grant permission repeatedly on Android 10 2021-02-12 14:35:51 +00:00
ach80
535eb45d8a Update polish translation
Fixed several translations
2021-02-05 23:05:03 +01: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
347d7fe88a Merge branch 'V3.6' 2020-12-26 15:40:18 +00:00
Graham Jones
87c438be1d Merge branch 'V3.6' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into V3.6 2020-12-26 11:49:15 +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
b783d1ac3f V3.6.2 - Fix file permissions issue with Android 10 by using official internal storage folder. 2020-12-26 11:33:36 +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
a954957a10 Adjusted sdserver shutdown to try to stop odd crashes on some phones. 2020-12-18 21:02:09 +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
277f6f68c5 Re-hashed log files to use system directory - will not fix android 10, but has it working again on my phone.... 2020-12-10 13:40:12 +00:00
Graham Jones
77bb8b2a48 Compiled with Target SDK 29 to publish on Google Play Store 2020-11-13 14:01:44 +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
8a7bf9627c Corrected problem with correct settings screens not showing in non-English languages. 2020-11-07 12:37:04 +00:00