Hi, I have some questions.
1.How to know easily(in code) whether the device is running the application in Portrait or Landscape mode? There is a simple method to return this?
2.If the user moves a real device (G1, for example) to see the screen in Landscape mode for any application, will the application enter in Landscape mode automatically? If yes, please read question 3 below.
3.How to lock the device screen for Portrait or Landscape mode only? For example, my application was designed to work in Landscape mode only, then does not matter how the user moves the device, the screen orientation will not be changed.