OK, I found the problem. In fact there where 2 problems :
- I have to restart completely the emulator between each code change.
Redeploying the application usually works, but, for some strange
reason not with the notifications.
- I was keeping a reference on the notification. I now recreate a new
instance when I want to update it.

I now works fine with the NO_CLEAR flag.

On 23 sep, 21:40, TreKing <treking...@gmail.com> wrote:
> On Thu, Sep 23, 2010 at 1:42 PM, DanH <danhi...@ieee.org> wrote:
> > What happens if you clear the flag before trying the cancel?
>
> I think he tried that:
>
> On Thu, Sep 23, 2010 at 3:19 AM, Nicolas HERVE <n.he...@laposte.net> wrote:
> > Then I tried to change the flags before canceling
> > notification.flags = Notification.DEFAULT_ALL;
> > notificationManager.notify(1, notification);
>
> > None works ...
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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

Reply via email to