×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    How to support both N95 orientations

    - Where can I download S60_Platform_Scalable_UI_Support_v4_3_en.pdf from? URL below returns Not Found.
    - Also, is above the best document for understanding how to write my UI so that it displays correctly in both N95 orientations (240x320 and 320x240)?
    - Currently, I size application for 240x320, but when I switch to 320x240 there is a blank line on right-hand side of appliction.
    - My UI is implemented as a CCoeControl.


    http://forum.nokia.com/info/sw.nokia..._0_en.pdf.html
    Last edited by ltomuta; 2007-02-28 at 20:50. Reason: Corrected document's URL

  2. #2
    Registered User
    Join Date
    Feb 2006
    Location
    London
    Posts
    34

    Re: How to support both N95 orientations

    Quote Originally Posted by owensul
    - Where can I download S60_Platform_Scalable_UI_Support_v4_3_en.pdf from? URL below returns Not Found.
    - Also, is above the best document for understanding how to write my UI so that it displays correctly in both N95 orientations (240x320 and 320x240)?
    - Currently, I size application for 240x320, but when I switch to 320x240 there is a blank line on right-hand side of appliction.
    - My UI is implemented as a CCoeControl.


    http://sw.nokia.com/uriqa/?format=te...&fallback=true
    I can't remember what is exactly in the scalable ui support doc. But it will give some pointers towards designing a scalable ui, once forum nokia fix the link problem they are having. It seems to be broken for quite a few links at the moment.

    I am guessing you are designing a custom gui, since you are working from CCoeControl.

    So you need to implement the SizeChanged() method. This will get called when you change the size of the CCoeControl object.

    You also have to make the code that positions all of the items a bit more dynamic. I generally have things positioned as a percentage relative to the top left or other items and then work out the position of where they are meant to be relative to the current screen size/orientation. That way your positions won't be set for 1 screen orientation.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    Re: How to support both N95 orientations

    Ok, thanks I'll try that.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    Re: How to support both N95 orientations

    I see in "S60 Platform: Scalable UI Support" discussion of EAppUiOrientationPortrait to specify a fixed orientation. Is there something equivalent I can do for a CCoeControl based UI that forces use of vertical UI mode for an application?

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

    Re: How to support both N95 orientations

    To force an orientation, use AppUi::SetOrientationL, and resize your CCoeControls, for example via getting the new ClientRect/ApplicationRect.
    To let the phone dynamically configure its orientation, implement AppUi::HandleResourceChangeL and handle KEikDynamicLayoutVariantSwitch.

Similar Threads

  1. I can't reinstall PC Suite Support into my phone
    By rulirahm in forum PC Suite API and PC Connectivity SDK
    Replies: 3
    Last Post: 2006-06-12, 08:49
  2. Trouble in registering technical support certificate at Forum Nokia
    By asheeshv in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2005-03-07, 23:10
  3. Replies: 0
    Last Post: 2004-08-25, 11:42
  4. Will Nokia support 100% MIDP 2.0???
    By gicio in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2003-08-18, 11:23
  5. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50

Posting Permissions

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