title: How to detect device orientation change in cocos2d x for Android
body: <p>I am looking for a way to detect if the device orientation changed from landscape to portrait or the other way around, for a cocos2dx 2.2.3 app.</p>
  
  <p>I googled this topic for hours now, but to no avail.</p>
  
  <p>I want to detect the orientation changed event in a CCScene. Is there an event I can subscribe to?</p>
  
  <p>I am interested how you can do this for Android, but iOS and Windows is welcomed to!</p>
  
  <p>Thank you!</p>