I want to create a notification every x minutes a user is continuously using his/her device.
I think I'm supposed to use a background service that will listen for when the screen turns on, then I can start some sort of timer that will trigger a notification if the screen hasn't been off for x minutes (user entered time value).
I don't necessarily need a spoon-fed answer but some very clear direction or documentation would be extremely helpful because I have no idea what I'm doing! :)