I would like to find out the detailed orientation of a device, preferably one of SCREEN_ORIENTATION_LANDSCAPE, SCREEN_ORIENTATION_PORTRAIT, S
SCREEN_ORIENTATION_LANDSCAPE
SCREEN_ORIENTATION_PORTRAIT
S
getResources().getConfiguration().orientation is the standard way of knowing current orientation being used. However, if it doesn't fulfill your needs then perhaps you may use Sensors to calculate it in terms of angle. Read this and this
getResources().getConfiguration().orientation