With the following lines we can set the orientation with in the application..
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
If I want to set the orientation to every screen(not only with in application). how can i do this? Any help.
Thanks in advance