ITeye博客

Phonegap app crashes when switched orientation even with AndroidManifest changes

squall140 · 2013-08-12 15:35 · Html5&&JQM · 移动开发 · Markdown

In your case the attribute android:configChanges="orientation|screenSize|keyboardHidden"should go to the first <activity> tag and not the <application> tag.

For the other people having similar issues simply add screenSize toandroid:configChanges="orientation|keyboardHidden" or change theandroid:minSdkVersion attribute to 12 or lower.

A more detailed explanation of this behavior can be found here:http://groups.google.com/group/phonegap/msg/c771fffc4dd9daaf

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。