12-01-2009, 08:23 PM
|
#3 (permalink)
|
| Knows Where the Search Button Is
Join Date: Sep 2007 Model: 8100 PIN: N/A Carrier: Vodafone
Posts: 18
Post Thanks: 0 Thanked 0 Times in 0 Posts
| This is an internal function that is only displayed in the call stack when the exception occurs. The code flow goes from the function I call which is LED.setState(int) to the first internal one of LED.setState(int,int) and then to LEDEngine.setStateInternal(int,int) which is where the uncaught exception occurs, deep in the API code. This is why I believe this is an API bug in 5.0.
Doing some more testing I see that the LED.STATE_ON and LED.STATE_PATTERN both cause the exception while the LED.STATE_BLINKING and LED.LED_TYPE_STATUS both work fine. I can actually use the LED.STATE_BLINKING in my application, so that is a workaround for me but may not be for other people. |
| Offline
| |