In Android 4.0.x we can use CalendarView
. Using that functionality, I need to develop a reminder task.
By clicking the particular date, I need to pop-up the TimePicker
and after selection of the specific time, the date and time needs to be stored in the database.
The background process needs to check the reminder time with the current time for every minute and if it has matched with the current time, the alarm needs to be raised on whichever screen is on the front side.
That means, if my project contains multiple tasks and each task has separate pages, I may work on any page after setting the reminder. I need to show the alarm on the front of the screen in any instance.
If my tablet is in sleep or switched off mode, the alarm must shown when I switch on my tablet.