Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2004

    Nokia N90 Portrait to Landscape Mode

    Hi All,
    I am working on Nokia N90, there is a support to change your screen to Portrait to Landscape and vice versa.
    I have successfully trapped that event into my application, I am working on FP3 SDK.

    I am able to trap those event in HandleResourceChangeL() method in AppUI,
    Now my understanding goes this way......
    On clicking the flip button, the control goes to HandleResourceChangeL of AppUI and the condition aType==KEikDynamicLayoutVariantSwitch gets satisfied.
    In AppUI
    void CPVPlayerGuiAppUi::HandleResourceChangeL(TInt aType)
    if ( aType==KEikDynamicLayoutVariantSwitch )
    Here I notify to framework to flip to landscape........
    By doing this if my Container is empty. My menu pane should flip to Landscape....But nothing happening.
    Please guide my way through............

    Thanks in advance

  2. #2
    Registered User
    Join Date
    Oct 2004

    Re: Nokia N90 Portrait to Landscape Mode

    Are you trying to force your application to run in landscape (or portrait) mode?

  3. #3
    Regular Contributor
    Join Date
    Oct 2004

    Re: Nokia N90 Portrait to Landscape Mode

    just handling the event is not sufficient,
    after you get the event, you need to set the new rectangle for your container...try it this way.

    if(aType==KEikDynamicLayoutVariantSwitch )
    iContainer->SetRect(<new rectangle for landscape>);

    just update whether this helps or not.

Similar Threads

  1. Nokia 31 Terminal User Control mode
    By carlossabido in forum Nokia M2M
    Replies: 0
    Last Post: 2003-12-05, 19:25
  2. What is the real problem to receive data calls with Nokia TDMA cell modem?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-12-04, 16:05
  3. Replies: 0
    Last Post: 2002-12-04, 15:46
  4. Replies: 0
    Last Post: 2002-10-17, 10:54
  5. Nokia 22 does not operate in ext. mode
    By valery_sidorov in forum Nokia M2M
    Replies: 0
    Last Post: 2002-05-10, 15:30

Posting Permissions

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