07-21-2009 04:40 PM
07-21-2009 09:20 PM
When you use the LED API you don't "hold" the LED. You merely change its state (color, blinking, on, off etc). Trouble is, you don't know what the previous state is, so there is no reliable way to restore it. And if another app changes the LED state, there is no way for *your* app to know this. So neither the coverage indicator nor BerryBuzz knows that you changed the LED state from whatever they wanted, and will not reset the LED until they think the LED state needs changing. If your phone loses network coverage and regains it, you will find the green coverage indictator flashing again. One way I've found to restore the coverage indicator after playing with the LED is to use the BB notifications mechanism: when a notification that has LED enabled turns off, the coverage indicator is restored.
09-06-2009 02:05 PM
Could you give a brief code example or point me to the API? I'm not sure what you mean by notifications mechanism; I looked at NotificationsManager but don't understand what you're getting at, unless you mean picking some system setting, reading its status, changing it,and then changing it back.