View Full Version : how to set landscape view only for an application in Sencha Touch 2.0?

18 Nov 2011, 12:29 AM
Hi All,

how can we set landscape view only for an application?
I'm following sencha touch 2.0 pr2 with MVC pattern.

Any help would be appreciated....

18 Nov 2011, 7:57 AM
Well I'm assuming you're using something like PhoneGap to wrap the application.

Then you do this:

For iPhone's plist:


For AndroidManifest.xml

<activity ........ android:screenOrientation="portrait">

18 Nov 2011, 2:26 PM
And to just follow up on stan229's reply, if you want to do this in a browser, it is not possible.