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
Highlighted
New Contributor
Posts: 5
Registered: ‎12-20-2012
My Device: Alpha C
My Carrier: none

4:3 camera viewfinder resolution error

I am trying to change my photo resolution from 3264 x 1836 to 3264 x 2448 but after using the following function...:
 
camera_set_photo_property(mCameraHandle,
            CAMERA_IMGPROP_WIDTH, (unsigned int)2448,
            CAMERA_IMGPROP_HEIGHT,(unsigned int)3254)
 
....just before setting the viewfinder, the viewfinder no longer starts up ( it gets past the set photo function and the resolution is on the supported resolutions list called by camera_get_photo_output_resolutions). Just wanted to ask is there something I'm missing? Seems that just setting the photo property should do it.
 
replacing width with 1836 works fine however, but it's pretty important that we get the 4:3 resolution working.
 
Thanks in advance Smiley Happy