I need to create reminder application based on the date and time from the database (Eg:31-08-2011 10:30,05-09-2011 14:40,etc.. )even if the app is not running.. Database will contain many dates with times. If the time reaches i need to display the notificaiton.How can I do that. Please provide any samples or suggestions
Share
You should use AlarmManager for this.
where the PERIOD is your time to something that should be executed in OnAlarmReceiver.
And then, just implement method in
And also see here,
http://developer.android.com/reference/android/app/AlarmManager.html
Edit: A minor code issue fixed!