I wrote an blog entry on Leds : http://androidblogger.blogspot.com/2009/09/tutorial-how-to-use-led-with-android.html
Hope it helps, Emmanuel http://androidblogger.blogspot.com/ http://www.alocaly.com On Jan 5, 5:10 pm, Beth <[email protected]> wrote: > To define your own color and pattern, define a value for the ledARGB > field (for the color)... > > fromhttp://developer.android.com/guide/topics/ui/notifiers/notifications.... > > Regards, > Beth > > On Jan 5, 7:14 am, Pablo Szyrko <[email protected]> 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 [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

