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
Trusted Contributor
itcraps
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
Please use plain text.
BlackBerry Development Advisor
smcveigh
Posts: 668
Registered: ‎11-29-2011
My Device: developer
My Carrier: other

Re: Supported Camera Width and Height Property

Please use plain text.