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

Reply
Contributor
wzl0515
Posts: 27
Registered: ‎08-14-2012
My Device: bold9780
My Carrier: T-MOBILE

How to let videocamera start to capture view with the time Invoking camera card by invokeframe

Today I have learned how to invoking core application especially in camera card to let my app to capture videos. However, if I want to the camera start and not just open to get the video, what should I do?

the code is:

void myapp::invokeCamera() {
	InvokeRequest cardRequest;
	cardRequest.setTarget("sys.camera.card");
	InvokeManager invokeManager;
	invokeManager.invoke(cardRequest);
}

 

Is there any one can help me?

Please use plain text.
New Developer
spt_genius
Posts: 7
Registered: ‎01-28-2011
My Device: BB10
My Carrier: Developer

Re: How to let videocamera start to capture view with the time Invoking camera card by invokeframe

I think this
<code>
request.setAction("bb.action.CAPTURE ");
</code>
Please use plain text.
BlackBerry Development Advisor
PBernhardt
Posts: 742
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: How to let videocamera start to capture view with the time Invoking camera card by invokeframe

This page gives you all the parameters you need to invoke the core applications:

 

http://developer.blackberry.com/cascades/documentation/device_platform/invocation/invoking_core_apps... 

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.