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
Retired
Posts: 1
Registered: ‎03-04-2013
My Device: All devices
My Carrier: Verizon

Re: Open playbook camera in Qt project

  err = camera_set_photovf_property(handle,
                                      CAMERA_IMGPROP_WIN_GROUPID, vf_group,
                                      CAMERA_IMGPROP_WIN_ID, "my_viewfinder");
how do i set the height and width for the ViewFinder on screen?
BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: Open playbook camera in Qt project

you need the window handle for the viewfinder window.  (I am not sure how this is retrieved in Qt.. presumably covered elsewhere on this thread)>

 

then you can use the libscreen functions to adjust the window size, position, etc.


(eg. screen_set_window_property_iv() )