Question

Im testing a simple html file with some input fields and two buttons, after installing the apk file on my android device everything seems well, but when I rotate the screen I receive the following error enter image description here

Im using a samsung galaxy s3 mini with android 4.1.2.

Im using the latest phonegap and eclipse juno.

How can I fix (or hide) this error?

Was it helpful?

Solution

You should add android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" to your activity in the AndroidManifest.xml, like recommended in the PhoneGap API Documentation

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top