Hi,

using the most local context doesn't change anything.

I tried to cancel the notification with :
notificationManager.cancel(1);

Then I tried to change the flags before canceling
notification.flags = Notification.DEFAULT_ALL;
notificationManager.notify(1, notification);

None works ...

Le 22/09/10 20:24, TreKing a écrit :
On Wed, Sep 22, 2010 at 2:52 AM, NRV <[email protected]
<mailto:[email protected]>> wrote:

    notification.setLatestEventInfo(getApplicationContext(),
    contentTitle, contentText, contentIntent);


P.S. - Don't use getApplicationContext - use "this" or your most local
context.

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

Reply via email to