PDA

View Full Version : Phonegap & Orientation Change - Broken with 1.0



ed.canas
30 Nov 2010, 6:58 PM
It seems that release 1.0 broke the orienation when the app is installed via phonegap. It works fine via the browser, this was previously fixed on the post below:

"Finally found the solution: use 'overflow:hidden' on html AND body in your css..."

http://www.sencha.com/forum/showthread.php?111798-Getting-Carousel-to-Redraw-on-Orientation-Change/page3&highlight=phonegap

I have the following code in my app:

Ext.EventManager.onWindowResize(this.ui.setOrientation(Ext.getOrientation(), window.innerWidth, window.innerHeight));


Any Ideas why again orientation stops working?

sheehsim
8 Dec 2010, 9:56 PM
Hi!

Did you find any solution ? I think i got the same problem...

Simon

ed.canas
9 Dec 2010, 6:36 AM
Unfortunately not, I'm still waiting for any comments from either party.

Anybody in Sencha have any ideas as to why this stop working with version 1.0, 1.0.1?

hitman01
9 Dec 2010, 8:24 AM
I got the same problem.

ldm314
9 Dec 2010, 11:19 PM
I am seeing the same issue as well, using Sencha 1.0.1 in a UIWebView

hitman01
15 Dec 2010, 8:37 AM
Any updates on this. Event if I modify the code in my native app with (UIWebView), it still wont work in any other native apps such as twitter or atomic browser?

ed.canas
23 Dec 2010, 5:14 PM
Finally got it working with QuickConnect http://www.quickconnectfamily.org/ and their latest version 1.6.4

No need to do anything special it just works.