To define your own color and pattern, define a value for the ledARGB
field (for the color)...

from http://developer.android.com/guide/topics/ui/notifiers/notifications.html

Regards,
Beth

On Jan 5, 7:14 am, Pablo Szyrko <pablo.szy...@gmail.com> wrote:
> Hi all,
> I'm dealing with an issue related with notifications.
> My application shows led notification for some events, but it isn't
> working in the Motorola Milestone (i'm not sure if it doesn't work in
> the Motorola DROID also). Led notifications are shown in HTC Hero,
> Magic and G1
>
> This is my code:
>
>         Notification notif = new Notification();
>         notif.flags |= Notification.FLAG_SHOW_LIGHTS;
>         notif.ledOnMS = 200;
>         notif.ledOffMS = 200;
>         notificationManager.notify(LED_NOTIFICATION, notif);
>
> Do you know if this code is OK? i don't know if i'm missing something.
> Thanks, Pablo

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