i want to create reminder application…I am using Notification Manager…
I am using this line as instantiate of Notification…
long when=sdf.parse("09 06 2010 15:45:00");
Notification notifyDetails = new Notification(R.drawable.reminder_1,"Reminder",when.getTime());
I need to start the notification at specified time…but here it is notification started immediately when i gave the date…and also help me to show multiple notification
The
whenargument is a time for theNotificationwhich is displayed when the notification bar is in expanded view. It is not used for scheduling when theNotificationis displayed.If you want to schedule something to happen in the future try the the
AlarmManagerservice.