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

Regular Contributor
Posts: 76
Registered: ‎07-31-2012
My Device: Blackberry
My Carrier: Vodafone

How to change orientation of camera view?

[ Edited ]

I am developing an application in BB 10. When I fix the orientation of the application to lanscape, the camera view doesn't change its orientation & works in portrait mode. Is there any way to manually switch orientaion of camera view? Note that I have fixed the orientation of the application in bar-descriptor.

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

Re: How to change orientation of camera view?

There is no published sample describing this yet.


I suggest you read this thread as a start:



And read the camera documentation:


There is some reasonable explanation in the camera_get_native_orientation() section.  I will provide more detail when time permits.