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

Native Development

Reply
Developer
tanphat1412
Posts: 125
Registered: ‎11-06-2012
My Device: BlackBerry

How to open camera and flash at the same time.

I already used the camerasettings in Qt to set Flash on but nothing happen.

 

Thanks.

BlackBerry Development Advisor
smcveigh
Posts: 668
Registered: ‎11-29-2011
My Device: developer

Re: How to open camera and flash at the same time.

I'm not clear on what you're trying to accomplish.

Are you trying to turn the LED on independent of using the camera, or are you trying to turn the LED on _while_ the viewfinder is running, or are you trying to force the flash to fire when you take a picture?

 

Developer
tanphat1412
Posts: 125
Registered: ‎11-06-2012
My Device: BlackBerry

Re: How to open camera and flash at the same time.

Sorry :smileyhappy:.

I'm trying to turn the flash at the same time when camera is opening, and force the flash to fire when you take a picture too.

BlackBerry Development Advisor
smcveigh
Posts: 668
Registered: ‎11-29-2011
My Device: developer

Re: How to open camera and flash at the same time.

let's get our terminology straight first to make sure we are talking about the same thing...

 

flash - the brief pulse of high-output light that happens when you take a picture

videolight - the low-power mode for the LED which is used when doing video recording to continuously illuminate the subject

 


Are you asking how you can turn on the videolight when the photo viewfinder is active?  This is not supported.

 

Cheers,

Sean

Developer
tanphat1412
Posts: 125
Registered: ‎11-06-2012
My Device: BlackBerry

Re: How to open camera and flash at the same time.

Hi Sean,


Now my app need the front camera with some initial setting like: cameraMode, shootingMode, focusMode, etc...

After that I'll decide to open the flash led or not in the QML.

 

Thanks.