There are a lot of cool widgets out there that will enable and disable auto rotate on your phone. Disabling it turns it off across all apps on the phone.
Any ideas
Always use user specified screen orientation, this will apply whatever orientation user has choose and will not rotate screen if its disabled.
activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER);