On Sat, Jul 17, 2010 at 12:49 PM, Bret Foreman <bret.fore...@gmail.com>wrote:

>  notification.defaults |= Notification.FLAG_NO_CLEAR;
>
> I expect this to mean that pressing the "clear" button in the expanded
> notification screen will not clear this notification. But the button
> still clears the notification.
>

I have no idea what the proper use of notification.defaults, as the
documentation for it is pretty terrible. However, if you want to set the
properties of a notification, you should be setting the flags property.

notification.flags = Notification.DEFAULT_ALL | Notification.FLAG_NO_CLEAR;

-------------------------------------------------------------------------------------------------
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 Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to