1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    30
    Vote Rating
    0
    pm.sreejith is on a distinguished road

      0  

    Question how to set landscape view only for an application in Sencha Touch 2.0?

    how to set landscape view only for an application in Sencha Touch 2.0?


    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....

  2. #2
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    111
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default


    Well I'm assuming you're using something like PhoneGap to wrap the application.

    Then you do this:
    http://stackoverflow.com/questions/6...le-or-phonegap

    For iPhone's plist:
    Code:
    <dict>
    `.....
        <array>
            <string>UIInterfaceOrientationPortrait</string>
            <string>UIInterfaceOrientationPortraitUpsideDown</string>
        </array>
    ..........
    </dict>
    For AndroidManifest.xml
    Code:
    <activity   ........      android:screenOrientation="portrait">

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    And to just follow up on stan229's reply, if you want to do this in a browser, it is not possible.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar