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

Web and WebWorks Development

Posts: 14
Registered: ‎06-25-2010
My Device: N/A

Widget API Question (Invoke)



I have a widget that will invoke the camera using the following ....


function takePicture()
 var args = new blackberry.invoke.CameraArguments();
args.view = 0; //Camera
blackberry.invoke.invoke(blackberry.invoke.APP_CAMERA, args);



After the picture is taken; I would like the Camera app to automatically save/close and return to the widget without interaction from the user.  Is that possible?  If so how?



Regular Contributor
Posts: 50
Registered: ‎02-14-2011
My Device: Not Specified

Re: Widget API Question (Invoke)

I'm interested in this as well.

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Widget API Question (Invoke)

If this is on the PlayBook the API to be able to do just this type of functionality will be out in the middle of June...  The Smartphone support will come around the end of June or early July


If you want to see what the API will look like, you can check out the API document source on github:



Other roadmap items can be found here:


Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter