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
Developer
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus
Accepted Solution

Supported Camera Width and Height Property

if(camera_set_videovf_property( mCameraHandle,
            CAMERA_IMGPROP_WIDTH, 360,
            CAMERA_IMGPROP_HEIGHT, 640)==CAMERA_EOK)

{
return EOK;
}

 

The code above will never return EOK

 

But the code following will return EOK

 

if(camera_set_videovf_property( mCameraHandle,
            CAMERA_IMGPROP_WIDTH, 288,
            CAMERA_IMGPROP_HEIGHT, 512)==CAMERA_EOK)

{
return EOK;
}

 

 

Question: why so? Is there a list of supported resolution somewhere?

 

Thanksssssssssssss

www.jackdevora.com
BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: Supported Camera Width and Height Property