I have a set top box where many apps start in portrait mode instead landscape.
I know that there are apps preventing this, but I want to find out why this happens.
Does someone have a test app showing me
getResources().getConfiguration().orientation ,
getWindowManager().getDefaultDisplay().getSize(sz) ,
getWindowManager().getDefaultDisplay().getOrientat ion() ,
getResources().getDisplayMetrics().heightPixels/.widthPixels,
and other?
I know that there are apps preventing this, but I want to find out why this happens.
Does someone have a test app showing me
getResources().getConfiguration().orientation ,
getWindowManager().getDefaultDisplay().getSize(sz) ,
getWindowManager().getDefaultDisplay().getOrientat ion() ,
getResources().getDisplayMetrics().heightPixels/.widthPixels,
and other?