Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
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
e973154896 Added data sharing status text field to main activity 2022-01-29 19:57:56 +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
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
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
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
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
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
354b692222 Improvements to BLE Scan activity to show more information on what is happening 2021-11-07 19:54:39 +00:00
Graham Jones
fc982d37ce V3.6.2b - extracted more strings for translation 2020-12-18 13:32:41 +00:00
Graham Jones
7e2dce8c67 Added button in settings to select BLE device. Note may have broken theme so UI looks odd - actionbar may be missing... 2020-08-08 21:31:34 +01:00
Graham Jones
4d042f4b59 Moved more hard coded text into string resources so they can be translated. 2020-04-02 20:44:14 +01:00
Graham Jones
95f3dd7d96 Added authorisation dialog - doesn't do anything yet, which is a shame considering how much code it took! 2020-03-11 19:41:48 +00:00
Graham Jones
5df5ef66c6 Added support for watch info settins in SdDataSourceGarmin. Started converting to sqlite database data logging rather than text file. 2020-01-06 20:51:14 +00:00
Graham Jones
f40c363808 Starting to add an activity to query the database 2019-11-12 11:15:42 +00:00
Graham Jones
0c5e7e2d2d V3.1.9 - fixed problem with crash of start-up activity in Android 9, and got warnings working for Garmin Data Source 2019-07-11 19:57:14 +01:00
Graham Jones
77df0ebdcc New test version of 2.6.0 with status of Heart Rate alarm shown on main app screen if disabled. 2019-01-27 10:09:47 +00:00
Graham Jones
b217259ca5 Fixed problem with Android 8 permissions. Needed to implement a new unhandled Exception Handler because mine kept giving Permission Denied errors. 2019-01-26 23:53:27 +00:00
Graham Jones
55cc65847d Removed unused ipCamera fragment which was causing warnings in Google Play Store 2019-01-09 06:40:18 +00:00
Graham Jones
c9e3f9374b Updated StartUp Activity to check for pebble android app being installed, and added buttons to install android app and watch app next to relevant checks on screen. 2016-09-12 22:31:47 +01:00
Graham Jones
bde99a6ce0 Release v2.0.4 - see CHANGELOG.md 2016-05-14 22:23:02 +01:00
Graham Jones
28f26f8d38 Chnaged main screen graph to bar chart. 2016-05-09 22:48:41 +01:00
Graham Jones
06f6f8262c Made startup activity scrollable so the buttons are useable on smaller screens. 2016-03-28 20:54:46 +01:00
Graham Jones
d89dafbfa0 Made 'Open Pebble App' compatible with either pebble classic or pebble time app, and added an 'install watch app' button to the start-up screen to allow the user to install the watch app from OpenSeizureDetector. 2016-01-30 21:25:07 +00:00