Commit Graph

44 Commits

Author SHA1 Message Date
tim
093de96c68 - Remove the TIME_SET receiver, as this could reset the alarm whenever the network decides to reset the phone time.
- Recalculate the grace period notification progress, based on current time rather than once per update. This was causing the notification to persist when the phone went to sleep, past the time that the grace period had actually expired.
- Upgrade to latest libraries.
2014-07-09 18:23:31 +02:00
tim
7810231e19 Prevent alarm cancellation from triggering null value exception, remove unused function, remove unnecessary imports. 2014-04-20 23:04:32 +02:00
tim
2bb2bdc3bc Change the link to one that SMS apps should parse as being for the web. 2014-04-18 17:51:03 +02:00
tim
6c386d5baf Only display toast of text message if debugging is on; get user to approve location queries when starting the app, not when sending text messages; re-add wakelock to AlarmService, otherwise snoozes don't happen. 2014-04-18 17:26:03 +02:00
tim
55e8777d42 Bug fixes for Alarm service, to make sure we don't remove an inactive alarm service (thus preventing it from ever starting next time). Also add commented-out code for a radial timepicker, which can be reenabled when betterpickers releases 1.5.3 (but test it). 2014-04-18 16:07:19 +02:00
tim
048d56c84d Alarm service bug fixes, to ensure that the service isn't prematurely cancelled. Also some commented-out code to enable a radial timepicker. This can be re-enabled once 1.5.3 of betterpickers is released, but needs testing. 2014-04-18 16:02:17 +02:00
tim
615b81e295 Minor tweaks to MainActivity 2014-04-17 16:24:52 +02:00
tim
20f99f2b5f Prevent subsequent alarms from snoozing; make pre-alarm an hour earlier; correct boot receiver bug. 2014-04-17 13:40:28 +02:00
tim
571df2f2c2 - Deal with time and timezone changes 2014-04-15 13:26:29 +02:00
tim
54bd082e89 - Final commit. 2014-04-15 00:46:28 +02:00
tim
6eb1ebe188 - Simplify alarm setting, cancellation, and resetting code
- Lintian cleanups
2014-04-15 00:24:49 +02:00
tim
db6c41fe72 - Always activate the date when starting. 2014-04-14 16:50:01 +02:00
tim
74994b99ee - Fix some date issues that crept in. 2014-04-14 16:47:07 +02:00
tim
b98934c15d - Some lintian checks. 2014-04-14 15:49:26 +02:00
tim
66e615bb20 - Activate for smaller screens and older devices (Samsung Galaxy S Mini, 2.3.6 / API 10).
- Turn off debugging
2014-04-14 15:16:39 +02:00
tim
e6266d4ed6 - Fix a bug where hitting the back button would snooze multiple times. 2014-04-14 13:55:47 +02:00
tim
6532182fb8 - Convert alarm activity from being in the receiver to a service of its own. 2014-04-14 11:45:32 +02:00
tim
f9204e52f3 - Allow user to select ringtone
- Display readable alarm time in pre-alarm notification
2014-04-14 10:55:54 +02:00
tim
fb886aabe9 - Simplify the audio, since we don't trigger the alarm if in a call. 2014-04-14 00:10:15 +02:00
tim
36b796fd13 - If user is in a phone call, they're already awake, so ignore the alarm and reset it for tomorrow. 2014-04-13 23:59:16 +02:00
tim
4c1e6a5a1a - Delay the alarm if in a phone call 2014-04-13 23:51:49 +02:00
tim
c36a1ab907 - Check for incoming phone calls and mute alarm
- Run alarm at lower volume if in a phone call
- Re-enable alarm noises.
2014-04-13 22:53:33 +02:00
tim
a0c2f37b07 - Add location capabilities, using Google Play Services.
- Shift to using GlowPadBackport maven library
2014-04-13 22:27:21 +02:00
tim
ad051bc1c2 - Add a pre-alarm notification
- Initial location stuff.
2014-04-13 18:51:05 +02:00
tim
249a185649 - Disable SeekArc and enable GlowPadView
- Correct fullscreen ability
- Add debugging options
2014-04-13 15:38:16 +02:00
tim
d7bf2832ea Minor revisions (comments). 2014-03-27 21:59:12 +02:00
tim
1813f3faa6 Refactor to allow for snooze reminders (snooze when user hits the back or home buttons). 2014-03-27 21:15:27 +02:00
tim
c2806f2231 Add some SDK checks. 2014-03-26 16:43:24 +02:00
tim
c32aef7c86 Fixed bug where, on app reinstall, the notification actions stopped working due to losing permission for gracecancellationpendingintent. 2014-03-26 16:29:35 +02:00
tim
d1ae1e16c9 Revert vector changes, back to PNGs, as android doesn't appear to support vectors as ic_launcher (bleh). 2014-03-26 15:32:09 +02:00
tim
c00a690d88 More icon changes, including switching to vector icons. 2014-03-26 15:09:20 +02:00
tim
fa4c1152d3 Additional notification cancellations. 2014-03-26 14:23:03 +02:00
tim
be115f4c7f Add a grayscale image for the large notification icon. 2014-03-26 14:01:58 +02:00
tim
08b09b110b Fix runnable to actually exit the alarm alert. 2014-03-26 13:34:37 +02:00
tim
68c2abd06d Change from timers to threads and runnables. 2014-03-26 11:14:22 +02:00
tim
c01e340aca More icon and alert window changes. 2014-03-26 01:11:54 +02:00
tim
9e46c461dc Mostly icon changes. 2014-03-26 00:26:20 +02:00
tim
d43bb2b1d5 Correct timer problem (remove redundant timer.cancel()s). 2014-03-25 22:14:23 +02:00
tim
b893ab6c72 Some small tweaks. 2014-03-25 20:43:50 +02:00
tim
08f8c79dd3 Commit some new files. 2014-03-25 17:07:33 +02:00
tim
4367222937 Fix timer bug. 2014-03-25 17:05:43 +02:00
tim
caf2edf9a6 Latest interface design. 2014-03-25 16:32:55 +02:00
tim
161da4dac2 Add ability to disable the alarm. 2014-03-25 15:30:35 +02:00
tim
87dda47608 Notifications all working. 2014-03-25 14:43:42 +02:00