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.