well in Cancel you need to specify the id of the alert , but as i haven't created that alert as it was generated by android framework itself on the receiving the new sms, i did delete that sms from sms database and when u open messages you wont see it there but status bar still shows new sms message and when user clicks on it there wont be any thread cuz i have already delete that thread from database , could some person of greater knowledge can help me over here , thnaks
On Nov 11, 2:00 pm, neil <reuel.j...@gmail.com> wrote: > Hi Bilal, > You can use the NotificationManager cancel method. > > On Nov 11, 6:17 am, Muhammad Bilal <se.bi...@gmail.com> wrote: > > > > > hi, > > > its been a while since i am doing development on android sdk , one of > > the astonishing i come across that there is np support in the API to > >removeany notification in thestatusbar, i am working on an > > application which looks for everySMScoming and on some specificsms > > deletes them from the inbox till now its working fine , but the > > notificationbarstill showing that u got a new message despite the > > fact that u have deleted it formsmsdatabase , couls somebody suggest > > some solution how i can accomplish this , thanks > > > regards > > MB -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en