6 Sep 2010 11:03 AM #1
Do nothing onOrientationchange.
Hi guys !
Thank you again for this amazing framework.
I am trying to get a fixed orientation, meaning if orientation change do NOTHING. In iphone this works fine.
On android if orientation change what ever app is running it will put it on landscape... and I do not want this. I want my app to keep on a old classic portrait mode.
Any hints ?
6 Sep 2010 5:12 PM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
That will be the case, unless you actually do something... Need to post your code.Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
7 Sep 2010 5:06 AM #3
Thank you for your fast reply !
I'll check on this.
7 Sep 2010 4:04 PM #4
To anybody that was looking for it. It is actually a android behavior. When ever you are in a web browser or using phonegap the APP switch to landscape/portrait if you move it.
But ! The thing you can do in the case of phonegap is setup phonegap correcty using androidmanifest.xml
For more information I think, it should be discussed on phonegap forum.