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
Developer
Posts: 293
Registered: ‎10-15-2012
My Device: bb10 developer
My Carrier: Orange

Device orientation at application start

I'm using an OrientationHandler to be notified when the device orientation changes. But how do I determine what the orientation is when my application starts? (i.e. the onOrientationChanged signal is only emitted when the device changes orientation it seems)

 

thanks

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Device orientation at application start

I would have expected this one to reflect that information: https://developer.blackberry.com/cascades/reference/bb__cascades__orientationsupport.html#orientatio...

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!
Developer
Posts: 293
Registered: ‎10-15-2012
My Device: bb10 developer
My Carrier: Orange

Re: Device orientation at application start

thanks, thats the one!