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
Super Contributor
Meghasanghvi
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified

Custom Camera control of bb.cascades.multimedia not display in full screen.

Hi,

In my application i hava to invoke camera. I take the sample code of PhotoBomber Application from github. I applied the width,height using camera settings but this did not work and camera is not display in the full screen mode.

There is black strip is display on top of the screen and bottom of the screen.

 

Sample Code:

Camera {
id: camera
objectName: "myCamera"
onCameraOpened: {
camera.startViewfinder();
camera.setWidth(720);
camera.setHeight(1280);
}
}

 


 

Please use plain text.