Commit Graph
100 Commits
Author SHA1 Message Date
Graham Jones efc8626b03 Added simple python script to test the Garmin (NetworkPassive) Data Source in the absence of a hardware device. 2019-01-27 09:45:54 +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 76df111876 Build of V2.6.0 alpha test version 2019-01-23 06:33:58 +00:00
Graham Jones 4cd2220d51 Changed lots of log entries to debug start-stop problems and (I think) fixed the problem with permissions on Android 8 - alpha test version of V2.6 2019-01-23 06:25:34 +00:00
Graham Jones 5e17623586 V2.6.0 - Added support for early Garmin based seizure detector (v0.1 of Garmin SD watch app). Uses Send_sms permission still. 2019-01-20 21:29:41 +00:00
Graham Jones 8f823aaa57 Removed SEND_SMS permission to comply with Google policy and use intent to send the SMS instead. BUT this just opens the SMS app - the user has to press 'Send', so this is not any good for us. I have applied to Google to keep SEND_SMS permission, so will hopefully undo this change in a week or two! 2019-01-20 13:07:44 +00:00
Graham Jones 4308e90f26 Solved problem of background service crashing - it is a 'feature' of Android 8 where background services are shutdown when the main activity stops. Solution is to make the service a 'Foreground Service' instead (I think - testing now....) 2019-01-14 23:31:02 +00:00
Graham Jones 77c3f9d48e Tidying up log messages - in particular using Log.i for more important ones, and keeping Log.v for regular messages. 2019-01-09 23:43:00 +00:00
Graham Jones 845a554039 tidying up log messages on main activity, and got rid of spurious directory creating error in osdUtil 2019-01-09 07:29:15 +00:00
Graham Jones 86ad2bdfc0 Corrected starting and stopping of uiTimer so it stops properly when mainActivity closed. 2019-01-09 07:02:30 +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 a21f009f9e Fixed crash when you select the settings manu with a very crude hack - needs doing properly really! 2019-01-06 20:46:31 +00:00
Graham Jones c73898bc31 Changed MainActivity to be a subclass of AppCompatActivity to get action bar working again after changing target SDK. 2019-01-06 20:39:18 +00:00
Graham Jones 5157efcdac Converted to target SDK Level 28 - had to change how we did notifications, and specify a style to get back to black background. Still a problem with the 'ok' notification not displaying properly - background showing white for some reason. 2019-01-05 23:10:55 +00:00
Graham Jones fa9ad87985 Get NetworkPassive data source working with Garmin watch - but raw data analysis still not working. 2019-01-02 20:44:11 +00:00
Graham Jones c8a240c84b Merge branch 'V2.6_new' into V2.6 - Addes updated SMS sending code and network datasource passive 2018-12-27 09:48:37 +00:00
Graham Jones 78bcee166e Updated build dependencies to remove deprecated 'compile' keywords, replacing with 'implementation' to get rid of build time warnings. 2018-12-27 09:11:27 +00:00
Graham Jones 9511b1ee09 Converted SMS sending to use intent rather than SMSManager 2018-12-26 20:40:39 +00:00
Graham Jones 5793655905 Merge branch 'V2.5' 2018-12-26 18:20:46 +00:00
Graham Jones 95484d7ba3 And include signed apk for new beta test of V2.5.5 2018-02-23 15:03:47 +00:00
Graham Jones bae32ca54f Upate to V2.5.5 beta - Corrected some network logging messages, and made NetworkDataSource use the timeout settings in the preferences screen (it used to ignore them!) 2018-02-23 15:01:53 +00:00
Graham Jones 538592bb4b Changed build number to keep play store happy 2018-02-23 09:46:08 +00:00
Graham Jones 04ecb3d408 Added change log to startup activity dialog for Release 2.5.5 2018-02-23 09:43:54 +00:00
Graham Jones 9793fa8e67 Beta release of V2.5.5 - Adds network status logging. 2018-02-23 09:31:37 +00:00
Graham Jones 47f1625afd Added PDF version of app structure presentation in case folks don't have LibreOffice. 2018-02-18 10:09:56 +00:00
Graham Jones 0f0a81276a Merge branch 'V2.5' 2018-02-18 10:03:38 +00:00
Graham Jones 2db0fa5dbe Added some documentation on app structure. 2018-02-18 10:00:21 +00:00
Graham Jones 34bf2a724b Added broadcastreceiver to receive data from external data sources 2017-12-23 20:55:41 +00:00
Graham Jones 3bc65b42ce fixed issues with not resetting status correctly when watch app stopped and re-started. 2017-12-14 19:51:06 +00:00
Graham Jones ab22abc63a Got fault detection working on Garmin using SdDataSourceNetworkPassive 2017-12-12 20:03:37 +00:00
Graham Jones ec34c2fe03 Merge branch 'V2.5' into V2.6 2017-12-07 05:59:26 +00:00
Graham Jones ef1c73905b V2.5.4 - Added audio alarm notifications as an alternative to tone generator. 2017-12-03 19:32:29 +00:00
Graham Jones cbe5e49ad3 Added option to use mp3 notification sounds rather than tone generator to make alarm sounds 2017-12-03 10:11:47 +00:00
Graham Jones 37f759fa5d upgrade of gradle build system. 2017-11-30 19:56:34 +00:00
Graham Jones 85cd881c63 Fixed FFT analysis - close to working 2017-10-18 22:08:38 +01:00
Graham Jones 700abb0855 Added code to receive settings by HTTP POST request. 2017-10-16 20:39:33 +01:00
Graham Jones ad77fe7740 Progressing with raw analysis in networkPassiveDataSource - not working yet. 2017-10-15 21:25:38 +01:00
Graham Jones 30bdc6bac5 Modified to compe with parameters sent by Garmin connectIQ makeWebRequest() function (and Merge branch 'V2.5' into V2.6) 2017-10-14 22:36:28 +01:00
Graham Jones b1b8659d55 Added V2.6 of pebble app to Android APK, and packaged as V2.5.2 2017-09-10 22:17:23 +01:00
Graham Jones 27f62ec347 Skeleton of Android Wear data source 2017-09-10 21:20:49 +01:00
Graham Jones a79e98c4de Extended SdDataSource to include an update data function that the web server can call 2017-09-05 05:39:36 +01:00
Graham Jones fc1683ad36 Started on Network(Passive) datasource for use with esp8266 based seizure detector. 2017-09-01 22:10:37 +01:00
Graham Jones 87774a10ef Update Change Log for V2.5.2 2017-05-09 22:10:47 +01:00
Graham Jones 386cc951a2 Added support for multi-ROI mode in Pebble App to improve sensitivity. 2017-05-09 22:09:10 +01:00
Graham Jones 1c053ecc8a Updated Changelog for V2.5.1 2017-05-07 22:29:56 +01:00
Graham Jones eb5fa6cfc9 Updated first-run message to show what has changed. 2017-05-07 22:27:47 +01:00
Graham Jones 98f6af1083 Added the facility to accept an alarm from the web interface ("/acceptalarm" url), and added button to web interface page. 2017-05-07 20:13:54 +01:00
Graham Jones b0b61b9fd2 Added alarm latch timer to release latch after a specified period even if Accept Alarm button is not pressed. 2017-05-07 19:56:24 +01:00
Graham Jones 00c335f70b V2.3.2 - Added first run dialog box and removed preferences for non-functional camera settings. 2016-12-26 22:25:59 +00:00
Graham Jones 4baed5ea97 Update Gradle version following prompt from Android Studio 2016-12-26 19:55:29 +00:00
Graham Jones e918ce2b99 Release V2.3.1 - fixed auto-start and changed default AlarmRatioThresh setting. 2016-12-23 22:13:15 +00:00
Graham Jones 2319f2230c Made auto-start start SDServer rather than StartUpActivity so it works with phone screen locked. 2016-12-19 20:13:51 +00:00
Graham Jones cd9d6c80ee Updated changelog for V2.3.0 2016-12-17 16:42:47 +00:00
Graham Jones e2568705a8 Tidied up SMS alarms - date format, use google maps url in message, remove debugging toast messages. 2016-12-17 14:25:49 +00:00
Graham Jones 756e42892e Added Georeferencing to SMS - needs a bit of tidying up as geo URIs not clickable on Android for some reason..... 2016-12-15 20:19:12 +00:00
Graham Jones 5c47f95a8f Added autostart on boot feature 2016-12-14 21:18: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 2df84341f2 v2.0.8 - check for errors interpreting settings sent from watch - indicative of incompatible watch app version installed. 2016-08-24 20:55:03 +01:00
Graham Jones 3e46f50c47 V2.0.7 - variable sample period and sample frequency. 2016-08-22 21:56:46 +01:00
Graham Jones 19a6b912a8 Merge branch 'v2.0.x' =x V2.0.6 2016-08-08 18:11:47 +01:00
Graham Jones 256280ac0b v2.0.6 beta release - see CHANGELOG.md 2016-07-29 08:35:48 +01:00
Graham Jones 6d8085dbe0 Added legacy apache library so it compiles on newer SDKs 2016-07-28 20:23:19 +01:00
Graham Jones 5744c14df2 Added extra syslog messages to SdDataSourcePebble 2016-07-25 22:48:03 +01:00
Graham Jones 30227b9108 Added MainActivity menu option to view log files (via web interface). 2016-07-25 22:31:33 +01:00
Graham Jones ef0616a143 Added system logging to MainActivity and PrefActivity 2016-07-25 22:24:26 +01:00
Graham Jones c0d4fb3a2c Updated v2.0.6 changelog 2016-07-25 22:00:35 +01:00
Graham Jones 426d363577 Modified web interface to display log files correctly (removed jquery-mobile) 2016-07-25 21:44:04 +01:00
Graham Jones 121b36987b Added beep generation to system log file. 2016-07-24 23:20:42 +01:00
Graham Jones eb6dad5e93 Increased period between pebble app re-starts to give it chance to send some data before being re-started. 2016-07-24 21:49:09 +01:00
Graham Jones 0178f249c1 Created System Log file to help to trace system start-up/shut-down issues. Moved pebble specific code from OsdUtil to SdDataSoruce Pebble. Moved generic code for logging from SdDataSourcePebble to OsdUtil 2016-07-24 20:53:52 +01:00
Graham Jones f30d8b869d Added logging function to OsdUtil so we can have a system log that can be used from outside of SdServer. 2016-07-24 09:07:32 +01:00
Graham Jones b299cc27f8 Removed some non-working code to do with raw data analysis. 2016-07-22 18:51:20 +01:00
Graham Jones 4f71b024b5 Wrapped OsdUtil Toast calls in a RunOnUIThread function to avoid occasional crashes when beeping. Closes #8 2016-07-22 18:36:40 +01:00
Graham Jones ffd731c85d Added fft library ready for 'raw' analysis mode. 2016-07-20 23:05:26 +01:00
Graham Jones 6edb68d306 Removed delay in startWatchApp because it crashed because of use of Handler. 2016-07-19 22:50:55 +01:00
Graham Jones 85e0b811d4 v2.0.6 - removed delay in startWatchApp because it crashed because of use of handler. 2016-07-19 22:43:56 +01:00
Graham Jones 354f9c6fa2 v2.0.6 - stop watch app before starting to improve reliability 2016-07-19 22:35:25 +01:00
Graham Jones d44ec7c489 Added code to stop watch app before starting it to try to improve reliability of app start. 2016-07-19 22:25:06 +01:00
Graham Jones 70f251dff6 Added settings for watch debug mode and to switch the spectrum display on the watch off to save processor power. 2016-07-03 20:24:42 +01:00
Graham Jones 5c392b887c Recive data as 3 integers (x,y,z) rather than AccelData structure. 2016-07-01 19:54:42 +01:00
Graham Jones 5bf50d8c7c Merge branch 'v2.0.x' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into v2.0.x 2016-06-30 19:37:14 +01:00
Graham Jones 994655d55a raw data transfer to phone working - started on adding fft analysis, but not finished. 2016-06-28 22:15:26 +01:00
Graham Jones c0d0f9ed30 Added receiving of raw data - not working yet - numSamples wrong and null pointer exception converting to AccelData class. 2016-06-27 22:45:43 +01:00
Graham Jones c871509d62 Added preferences for pebble seizure detector mode and sample frequency, and send them to watch as settings. 2016-06-27 20:53:09 +01:00
Graham Jones 68478e3be0 Merge branch 'v2.0.x' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into v2.0.x 2016-06-27 17:35:17 +01:00
Graham Jones 9dce8c6237 update gradel 2016-06-27 17:35:07 +01:00
Graham Jones 9612b7c639 Updated gradle tools 2016-06-26 15:13:33 +01:00
Graham Jones fca8c4778e Updated version number 2016-06-18 21:17:42 +01:00
Graham Jones bde99a6ce0 Release v2.0.4 - see CHANGELOG.md 2016-05-14 22:23:02 +01:00
Graham Jones 51db370411 Fixed missing axis labels on chart (drawing black on a black background..) 2016-05-10 22:12:02 +01:00
Graham Jones 33e77c51f9 Changed bar colours to represent AlarmFreqMin and AlarmFreqMax settings 2016-05-10 21:12:43 +01:00
Graham Jones 15205f3c94 Prevent startup activity from sleeping. Changed mainactivity graph to bar chart. 2016-05-10 20:47:48 +01:00
Graham Jones 28f26f8d38 Chnaged main screen graph to bar chart. 2016-05-09 22:48:41 +01:00
Graham Jones 8f98e86c83 removed .iml files from git tracking. 2016-05-09 21:03:06 +01:00
Graham Jones acb29fe72e Got the 'install watch appp' function working to install the watch app from the phone app package. 2016-05-09 21:01:38 +01:00
Graham Jones cacbb04969 Added pebble watch app to assets folder, and added an 'installWatchApp()' function - still not working - installes from pebble store, not the pbw file... 2016-05-08 22:17:07 +01:00
Graham Jones 29a7655e34 Sorted out issues with default pebbledatasource settings not being used. 2016-05-08 20:45:52 +01:00
Graham Jones 6267745152 Re-hashing how we manage watch settings to make sure watch always uses the settings requested in the phone app - not working yet - not receiving data back from watch for some reason - too much settings traffic maybe? 2016-05-08 10:43:21 +01:00
Graham Jones 51c277f691 V2.0.3 - fixed issue with crash during app re-start if warning beep sounding. And added logging of faults to alarm log on sd card. 2016-04-23 19:20:06 +01:00
Graham Jones 5cc6c83048 Packaged v2.0.2 for release. 2016-04-13 20:50:58 +01:00