Skip navigation
DaneWWW
Currently Being Moderated

Handle orientation's change when device's auto rotate's feature is disabled

Mar 1, 2013 4:30 PM

Tags: #4.6 #orientation #orientationchange #orient #auto-orientation

"StageOrientationEvent.ORIENTATION_CHANGE" event does not fire (dispatch) when the Auto Rotate feature of the device is disabled.

 

I'm developing a game that only must work on PORTRAIT mode. I speculate many users unchecked this option display settings.

 

How can I detect screen rotation regardless of device setting. Should I use accelerometer for this purpose or there is a better way?

 

http://i.stack.imgur.com/ulNQS.jpg

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points