Changing notification every hour

by Arsen Saruhanyan   Last Updated June 26, 2017 10:11 AM

So, I need to change a text for notification every hour. Just for example:

10AM: "Hi there!"

11AM: "Hello, I'm here"

Although I think it's better to check here when the user woke up and picked up the phone. I know that such is in the application SHealth, which understands when the user goes to bed due to the fact that he does not take the phone for a long time, but how this "feature" is realized, I do not know. But, if you know how to do that, then just tell me, plz.

Related Questions

How to give a wakelock to an app?

Updated March 19, 2019 01:11 AM

How to prevent loud beeps before alarm rings

Updated December 01, 2018 16:11 PM

Delayed notifications on android 6

Updated November 13, 2017 12:11 PM