orientasi kekuatan android secara terprogram

myActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
Hilarious Hamster