Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
fribeiro
Posts: 22
Registered: ‎07-02-2010
My Carrier: Claro
Accepted Solution

Application-Specific LED State

A customer would like the LED to be turned off in Consequence.stopNotification(...) only when it was my app that turned it on, and I can't see how to implement that.

 

The problem is that the LED turns off even when there are still e-mails to be read, for example, even though the work in my app is completed and the notification is canceled.

 

Is there anything special that I may be missing?

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Application-Specific LED State

You are seeing the expected behaviour.  Turning off the LED.setState(LED.STATE_OFF) turns the LED off.  The LED isn't a stack, it won't go back to the previous notification.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.