I want to add a technique, which will Check value of a variable after 5 or 10 mins interval. If the value of the variable have Changed then send a notification to notification bar from Application. & Application will always work in Background and Foreground.
Any sample code or Tutorial link suggested.