I have a problem with JqueryMobile and Phonegap app. If I rotate the mobile phone, the app is reloaded from ‘index.html’. Is this a bug in Jquerymobile or Phonegap? Is there any way to stop this page reload after a change in rotation or set rotation to a fixed position?
Share
You can lock the orientation, by setting this property:
AndroidManifest.xml
or IOS in the property list (.plist file)
Disable auto-rotate in Jquery Mobile or PhoneGap