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

New Member
Posts: 1
Registered: ‎02-05-2013
My Device: Bold 9810
My Carrier: Vodaphone

Landscape Device Information Required

Hi All


Can anybody please help me. I want to create app in landscape and portrait mode both. I am building application for four resolutions devices


320 * 240
480 * 360
640 * 480
480 * 640

I want my app should work in landscape and portrait mode but I checked all the devices its not working on landscape mode.


Can anybody help me to figure out which resolution device has landscape mode and how we can create app in landscape mode.




Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Landscape Device Information Required

In the bar-descriptor.xml in the Application tab select "Auto-orient" as Orientation.


And in the main.qml in your NavigationPane or Page or whatever you use as top level component you should implement the onCreationCompleted signal. There you should set the supported orientation to all.


NavigationPane {
    onCreationCompleted: {
        OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.All


Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Landscape Device Information Required

just curious - why would you choose non-standard resolutions?