How to Get Current Screen Orientation in Android

Android devices have both landscape and portrait modes and can flawlessly move between these modes. The Android working framework naturally handles these progressions for your application. You can also detect in which orientation is your android device. The natural orientation of a device is the orientation in which the orientation is 0 on all the three axes. Below method returns the current screen orientation mode name of your android device.

Enjoy Coding and Share Knowledge