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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

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
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

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
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

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

Sorry Smiley Happy.

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
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

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
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

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.