PhoneGap Disable Screen Rotate On Single Page?
android, cordova, javascript
Solution
I know this post is a few months old but there is a plugin for phonegap which can help you... It is a plugin that can lock or unlock screen orientation.
OrientationLock - Android PhoneGap
Problem
I am using PhoneGap, and am working with an Android web based app. How do I disable screen rotation for only one page? I have searched for this solution but all the solutions say to disable screen rotation in the AndroidManifest.xml file. However, this disables rotation for the whole app. I only need to disable rotation for one page. Can this be done using PhoneGap / Javascript code? I am not using any Java code. Thanks.