×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    20

    How can i block rotation of joystick during Auto-Rotation?

    Helllo,

    I am blocking the rotation of the screen using "BaseConstructL(EAppOrientationPortrait)".

    How can i block rotation of joystick during Auto-Rotation?

    Thanks.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How can i block rotation of joystick during Auto-Rotation?

    How can i block rotation of joystick during Auto-Rotation?
    is that means when Auto-Rotation in progress you want to diable the joystick events ?

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    20

    Re: How can i block rotation of joystick during Auto-Rotation?

    Quote Originally Posted by skumar_rao View Post
    is that means when Auto-Rotation in progress you want to diable the joystick events ?
    I dont want to diable the joystick events. I want them work as they work before rotation.

    For example my applications is in portrait mode. When i press up on joystick it focuses the upper buttons.

    When i open qwerty keybord the application is still in portrait mode. Because i m blocking it. But when i press up on joystick it focuses to left buttons.

    I want to disable this.

    Thanks.

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    20

    Re: How can i block rotation of joystick during Auto-Rotation?

    Hello,

    Is there an event which is produced on rotation.

    Thanks.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How can i block rotation of joystick during Auto-Rotation?

    Theoretically you get KEikDynamicLayoutVariantSwitch in HandleResourceChange/L methods, however since you fix the layout in BaseConstructL, the event might not occur - but you can try.

Similar Threads

  1. How to avoid auto rotation of Flash Lite content on Nokia E66
    By ngocnhan in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2010-05-12, 04:49
  2. Nokia 5800 Bug - Auto rotation and textfield
    By atilacorreiacunha in forum [Archived] Flash Lite on Nokia Devices
    Replies: 13
    Last Post: 2010-03-19, 02:06
  3. Replies: 2
    Last Post: 2009-06-05, 07:09
  4. Auto screen rotation of N82
    By hangyc in forum Mobile Java General
    Replies: 3
    Last Post: 2009-04-07, 09:21
  5. How to disable auto screen rotation?
    By olliwang in forum Symbian
    Replies: 1
    Last Post: 2008-11-08, 13:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×