NotificationManager notiManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); Notification noti = new Notification(); ... final int id = 0;
//start notification notiManager.notify(id, noti); //cancel notification notiManager.cancel(id); On Tue, May 24, 2011 at 2:06 PM, shanmu nathan <[email protected]> wrote: > Hi guys, > I need one help.. I need to cancel a notification when the event > is over. can anybody help me.. > > -- > With Regards, > > SHANMUGANATHAN. A > Software Engineer Trainee, > Citrisys Solution, > Phone: +91.44.22311173 > Mail To: [email protected] > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

