Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. 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
12-15-2010 12:22 PM
With be code below I can access to the built-in camera, but when the user takes the photo it doesn't return the image path.
var args = new blackberry.invoke.CameraArguments();
args.view = 1; // Video Recorder
ERA, args); // Video Recorder Application
12-15-2010 12:32 PM
You can retrieve just the file path or the base64 encoded image. Beware though, the image is rotated 90 CCW in HTML. There is an open bug in issue tracker that is pretty much inactive.
Also, any picture over about 1.7MB in size will not work with base64. The encoded image is just too big. The cameras on today's phones are just too good. On my Torch, I had to set Camera options to medium resolution to get it to work.