I'm trying to make a reminder app in android.I have already written code that stores Date and time information for the reminder along with a reminder title.Now I want to notify the user at appropriate time about the reminder for that I was planning to use a service that would keep a track of systems current time and the time stored in the database.I have a confusion as how to do this. Can anyone pls suggest something.
The only way I can think of doing this is to retrieve all the row in the remainder table and constantly keeping of the system time to check whether it matches any of the one specified in the retrieved rows data.(But this i guess would be very much inefficient)