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
Developer
Posts: 374
Registered: ‎04-07-2010
My Device: Bold 9000
My Carrier: Airtel

Camera Flash light and LED

Hello Every one,

 

I have invoked video camera programmatically with Invoke class...

it starts recording using key injector...

 

but problems are LED, FlashLight and Screen...

 

I have set all of them off using :

 

LED.setState(LED.STATE_OFF);    - for LED
Backlight.enable(false);                  - for Screen
this.setMode(FlashControl.OFF);  -  for flash light.

 

all of them works but the Recording  stops as soon as they are called... so nothing gets recorded.

 

is there any way to achieve that, all of them are off and camera still records???

 

Thanks in advance....

Press the Like button (Thumb up) on the left side to thank and
please mark the Thread as solved if its solved...
K.S
Developer
Posts: 174
Registered: ‎08-20-2008
My Device: Not Specified

Re: Camera Flash light and LED

Have you got the device activated to a BES? There is an IT policy rule regarding "Force LED Blinking When Microphone Is On IT policy rule" which may have something to do with it. 

 

http://docs.blackberry.com/en/admin/deliverables/12068/Force_LED_Blinking_When_Microphone_Is_On_2042...

Regular Contributor
Posts: 71
Registered: ‎07-11-2010
My Device: Bold 9000
My Carrier: none

Re: Camera Flash light and LED

> all of them works but the Recording stops as soon as they are called...

 

Are there any exceptions thrown ?


-----
A good decision is based on knowledge and not on numbers.
Developer
Posts: 374
Registered: ‎04-07-2010
My Device: Bold 9000
My Carrier: Airtel

Re: Camera Flash light and LED

Thanks for the reply...

 

But it says Default value is No... and I require that... but its still blinking...

Any other suggestion???

 

Regards

Press the Like button (Thumb up) on the left side to thank and
please mark the Thread as solved if its solved...
K.S
Developer
Posts: 374
Registered: ‎04-07-2010
My Device: Bold 9000
My Carrier: Airtel

Re: Camera Flash light and LED

Thanks for the Reply...

 

No Exceptions but the Debugger Console says this at that point:

 

JVM: bklt[1] @406867: JvmBacklightSetTimeout 30
JVM: bklt[1]: setTimeout 30
JVM: bklt @406867: timer
VR:RecUIThread : exit

 

Recording ends..... and debugging is done on real device.....

 

Any idea to anyone whats going on???

 

Regards

 

Press the Like button (Thumb up) on the left side to thank and
please mark the Thread as solved if its solved...
K.S
Developer
Posts: 374
Registered: ‎04-07-2010
My Device: Bold 9000
My Carrier: Airtel

Re: Camera Flash light and LED

Thanks for the Reply...

 

No Exceptions but the Debugger Console says this at that point:

 

JVM: bklt[1] @406867: JvmBacklightSetTimeout 30
JVM: bklt[1]: setTimeout 30
JVM: bklt @406867: timer
VR:RecUIThread : exit

 

Recording ends..... and debugging is done on real device.....

 

Any idea whats going on???

 

Regards

 

Press the Like button (Thumb up) on the left side to thank and
please mark the Thread as solved if its solved...
K.S
Developer
Posts: 374
Registered: ‎04-07-2010
My Device: Bold 9000
My Carrier: Airtel

Re: Camera Flash light and LED

Hi,

 

Still waiting for Some Expert Comments...

 

Thanks in advance....

Press the Like button (Thumb up) on the left side to thank and
please mark the Thread as solved if its solved...
K.S