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.

inside custom component

Java Development

Reply
Contributor
fribeiro
Posts: 22
Registered: ‎07-02-2010
My Device: Bold 9780
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?

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker