-
6 Dec 2011 6:15 AM #1
Answered: App packaged with PhoneGap : Orientation change crashes
Answered: App packaged with PhoneGap : Orientation change crashes
I am developing a mvc app on android. I am using android 2.1, phonegap to package, and senchatouch pr2-.
The things are packaged and seem to work but i have a great problem.
Unfortunately i am experiencing an app crash when i change orientation of the mobile.
Has somebody experienced the same problem?
Has somebody some good hints to help me?
Is it a well known problem ?
The same code has no problem when accessed via web.
-
Best Answer Posted by samlowry
The problem was in packaging and it was due to an error of mine in the AndroidManifest.xml not evidenced from eclipse.
Senchatouch 2.0 was absolutely innocent.!
-
6 Dec 2011 7:02 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,120
- Vote Rating
- 453
- Answers
- 3160
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
6 Dec 2011 9:58 AM #3
Can you provide a simple test case so we can debug this (only the app, I can package the app myself)? I have never seen this happen before.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
8 Dec 2011 12:27 AM #4
The problem was in packaging and it was due to an error of mine in the AndroidManifest.xml not evidenced from eclipse.
Senchatouch 2.0 was absolutely innocent.!
-
1 Feb 2012 9:08 AM #5
Problem with AndroidManifest.xml
Problem with AndroidManifest.xml
Hello, I have the same problem in my Android Application.
Could you post your error of AndroidManifest.xml?
-
22 Mar 2012 2:10 AM #6
Just stumbled over this and for future reference:
in the AndroidManifest.xml under activity change:
toCode:android:configChanges="orientation|keyboardHidden"
The API changed after SDK 11 I think and PhoneGap didn't update their Tutorial yet.Code:android:configChanges="orientation|screenSize|keyboardHidden"


Reply With Quote