Hi Bilal,
I am also facing same issue. In my code i m not able to delete the last
message for which the notification has come. I am only able to delete the
previous message from the provider database. Can you please share the code
with me how you did that ?

Thanks and Regards,
Saj

On Thu, Nov 12, 2009 at 4:30 AM, Muhammad Bilal <[email protected]> wrote:

> 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 <[email protected]> wrote:
> > Hi Bilal,
> >     You can use the NotificationManager cancel method.
> >
> > On Nov 11, 6:17 am, Muhammad Bilal <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[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

Reply via email to