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.
05-18-2013 07:41 AM
Hi I am trying to create a flash light app. I am trying this with Camera Libraray. But I can't seem to make the flash light linger after the photo is taken. It turns off right after the photo is taken.I used this command
to force the light flash everytime the picture is taken. Do I need to try to this while capturing a video instead? But I also can't seem to start video.
err = camera_start_video(handle,"/accounts/1000/appdata/
com.example.Camera.testDev_ple_Camerab032c86f/data /video", NULL,NULL,NULL);
the `err` variable returns an error value of 2. This problem is giving me a headache. I really need help to fix this as soon as I can. Thanks.
Solved! Go to Solution.
05-18-2013 02:51 PM
05-18-2013 09:07 PM
Not entirely sure if you can keep the camera flash light on by using Native Development (non-Cascades). The API available doesn't seem to allow you to do that for Native.
For the video capture, did you call the camera_start_video_viewfinder() function before camera_start_video() ?
05-21-2013 01:37 PM
The API is definitely available. The C API is what all the other frameworks are built on top of.
That plus camera_open(); are the only 2 functions you need to use to drive the led.
Just be aware that when the screen turns off, so will the LED, since the camera hardware is associated with the same power circuit. This is a limitation we are working to address in a future release.