Fix Issue #170: Sub pages reload on orientation or keyboard changes

Needed to add android:configChanges="orientation|keyboardHidden" to the com.phonegap.DroidGap activity in AndroidManifest.xml.
This commit is contained in:
macdonst 2011-07-20 23:17:52 +08:00
parent 6b84ead393
commit 029ddeade0

View File

@ -38,7 +38,8 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.phonegap.DroidGap" android:label="@string/app_name">
<activity android:name="com.phonegap.DroidGap" android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden">
<intent-filter>
</intent-filter>
</activity>