Conversation
…when notification appears (always/only when tasks are running/never).
|
Thank you for the pull request. |
There was a problem hiding this comment.
Is it required that the thread is woken up once every second? Is this usually how notifications work? If it where possible to have the thread instead wait for a notify when there is a change we could probably save some battery.
There was a problem hiding this comment.
Hi, Marckus. As per the official android docs (https://developer.android.com/guide/topics/ui/notifiers/notifications.html) this is the way to start a notification. I set the time for 1 second because that's usually the interval for a clock but we can make it longer for more of a "fuzzy" time if you'd like.
|
I noticed that when I was using the application a lot of times I would clock in to an activity, forget to clock out and then hours later (or even the next day o.0) find I hadn't clocked out. After I added the notification it made it easier to remember that a task was running. |
|
any progress on this issue, @netmackan? |
|
Why not merge? |
|
I see a few questions that have not been answered. Maybe they are not relevant anymore but in that case you can state so and why. |
Hi, Markus,
Great application. Hope you don't mind if I added code to include a notification.