tags:

views:

43

answers:

1

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

+1  A: 

The when argument is a time for the Notification which is displayed when the notification bar is in expanded view. It is not used for scheduling when the Notification is displayed.

If you want to schedule something to happen in the future try the the AlarmManager service.

Dave Webb
ok i am using alarm manager...it will be scheduled...if the device was rebooted...can the alarm activity correctly process that schedule?
Kandhasamy