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
Contributor
developerUK
Posts: 35
Registered: ‎11-21-2012
My Device: 9810
Accepted Solution

restricted rotation dev alpha

When I run my application on dev alpha built with ndk 10 I can only get orientation change or notified of orientation change when dev alpha is 0 or 90, so no upside down for my app, is this correct or should i be doing something to allow all angles?

 

thanks for any input you can offer me.

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: restricted rotation dev alpha

Although the device can obviously sense any rotation, for purposes of the UI orientation it appears BB10 generally supports only the one portrait, and both landscape orientations. You're not alone in observing this.

Depending on your use case, either just accept this and carry on, or use the accelerometer or other info to get the required input. It doesn't appear necessary for us to have our apps support the "top is down" orientation.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Contributor
developerUK
Posts: 35
Registered: ‎11-21-2012
My Device: 9810

Re: restricted rotation dev alpha

thanks for the clarification Peter.

Please use plain text.