692 Commits

Author SHA1 Message Date
Graham Jones
ac76c9626c Fixed mistake in default datasource - was 'undefined' - made default 'Pebble' 2016-01-16 20:06:44 +00:00
Graham Jones
be7814c9b8 Moved to use v3 of Pebblekit library for compatibility with Pebble Time. - Release 2.0a for testing. 2016-01-16 19:16:58 +00:00
Graham Jones
6d4c2495b8 modified build.gradle to return default values during testing. 2016-01-01 22:07:33 +00:00
Graham Jones
e969da21e4 Added skeleton test structure - used Android Studio - right click on a class and sellect goto->test. 2016-01-01 21:35:05 +00:00
Graham Jones
b3b8c941f8 Notification icon colour changes for warning and alarm levels. Fixed issue with multiple versions of mainactivity starting on alarm. 2015-12-23 23:07:28 +00:00
Graham Jones
6d27e0dfe9 Forced faultTimer to run on UI thread using handler, because otherwise using pebble datasource gave an error about not having run Looper.prepare... 2015-12-23 22:14:19 +00:00
Graham Jones
7e893758c7 Merge remote-tracking branch 'origin/v2.0' into v2.0 2015-12-23 21:53:51 +00:00
Graham Jones
31997337d9 removed divide by zero errors if spectrum power is zero. 2015-12-23 21:49:37 +00:00
Graham Jones
ebde242ef6 removed divide by zero errors if spectrum power is zero. 2015-12-23 21:45:38 +00:00
Graham Jones
13a9c10211 Added fault timer to avoid warning beeps for short term glitches in connection. 2015-12-23 21:24:31 +00:00
Graham Jones
05af94cf93 Minor changes to UI wording 2015-12-22 20:03:53 +00:00
Graham Jones
a4cbc56d5a move fault timer setting to alarm settings 2015-12-16 06:33:52 +00:00
Graham Jones
aa3d159fec Reinstated display of MainActivity when Alarm state entered. 2015-12-15 22:32:50 +00:00
Graham Jones
db2d40879d Tidied up UI - colours and background fill. 2015-12-15 22:13:18 +00:00
Graham Jones
e7cf47f08a Started adding IP camera viewer fragment - not working yet. 2015-12-15 20:47:53 +00:00
Graham Jones
1af6e8787f Had a go at adding a simple automatic test - can't make it work though! 2015-12-11 21:56:50 +00:00
Graham Jones
71e2697a81 rounded of corners of progress bars and added visible background 2015-12-09 22:57:20 +00:00
Graham Jones
159430f745 Made progress bars wider so they are easier to see. 2015-12-09 21:47:02 +00:00
Graham Jones
a5af07b4cf Fixed MainActivity crash on startup when not bound to server. 2015-12-09 20:46:46 +00:00
Graham Jones
fe7cd37896 Added cancel audible button (was only present on client app, not server) 2015-12-08 18:53:43 +00:00
Graham Jones
9826fda1ba Moved web server to separate file to simplify SdServer, and fixed issue with fault alarms not being raised over network connection. 2015-12-08 18:28:14 +00:00
Graham Jones
ba13ae226c Reinstated pebble settings preference screen - it had got lost by accident... 2015-11-29 10:23:43 +00:00
Graham Jones
9a49794428 Network data source now working, but needs testing still. 2015-11-28 22:54:06 +00:00
Graham Jones
95c9cde8a3 Added a couple of stray resources files (not sure if they are used or not....) 2015-11-28 20:39:56 +00:00
Graham Jones
c8f1430829 Added indicators to show margin to alarm for both spectral power and ratio. 2015-11-24 22:16:27 +00:00
Graham Jones
ce30cb53cb Added functionality to switch data sources (network data source does not work yet though!). 2015-11-22 07:21:51 +00:00
Graham Jones
856b3c5d3d Modified mainactivity to use generic utilities. Added more rows to startup screen. 2015-11-20 22:58:26 +00:00
Graham Jones
63604bc25b Modified notification to prevent more than one version of MainActivity being open at once. May not work completely! 2015-11-18 23:28:05 +00:00
Graham Jones
c69ce006ce Added startup screen that displays while background servie is started and while waiting for first data to arrive from seizure detector. 2015-11-18 19:44:46 +00:00
Graham Jones
65d7731c0b Added a simple 'about' dialog box with menu item to show it. 2015-11-17 23:02:40 +00:00
Graham Jones
16a9207ded Split preferences into different screens to make them simpler, and enable and disable screens depending on options selected. 2015-11-17 17:07:13 +00:00
Graham Jones
f5e5c7e093 Started v2.0 of android app - re-factored so the service uses a datasource to populate the SdData class - so that we can make different data sources in the future. 2015-11-16 23:03:20 +00:00
Graham Jones
c4712c19e8 Added README file 2015-11-14 23:16:38 +00:00
Graham Jones
9619375b49 Added Accept Alarm button to main screen as it is hard to find in the menu. 2015-11-11 20:58:39 +00:00
Graham Jones
3b240e3a54 Added alarm latching option to SD Server app. 2015-11-10 23:09:22 +00:00
Graham Jones
eec87aedd7 Added experimental support for fall detection, with ability to change fall detection settings from android app. 2015-11-10 18:14:51 +00:00
Graham Jones
6879f1a116 Added flag to switch fall detection on and off (default=off) 2015-11-10 17:26:28 +00:00
Graham Jones
6dcff85c7a Simple threshold based fall detector added to pebble seizure detector. 2015-11-09 19:12:49 +00:00
Graham Jones
bdfa9a3a21 Updated to make telephony access optional, so it will be listed as suitable for tablet computers as well as phones on Play Store. 2015-09-24 20:37:08 +01:00
Graham Jones
5a2eba587b Removed unnecessary .gradle and .idea directories from repository 2015-09-24 19:43:59 +01:00
Graham Jones
385265b3a3 Updated IpCameraController to use a data file stored in the Assets folder to configure the camera control URLs rather than them being hard coded. 2015-08-11 19:41:22 +01:00
Graham Jones
4ffddf7d6c Converted Android_Pebble_SD to use Android Studio (Gradle) build system. 2015-08-11 17:37:23 +01:00