title: Detecting the screen orientation in android
body: <p>I am implementing a camera in android. I have kept the activity as landscape in the manifest.
  Since i have given the orientation as fixed, i am not able to get orientation by display. it always gives as LandScape. But i want to know when my device is held in portrait or vertical position. I do not want the screen orientation. Can any one suggest a good way to detect device orientation.</p>
  
  <p>Thanks all</p>