Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2012

    QCompass accuracy as phone is tilted in landscape mode


    I have implemented a compass interface on a Nokia 808 and I get relatively accurate results when the phone is held on a horizontal plane with the display facing up.
    I would like to be able to obtain similarly accurate compass readings when the phone is tilted into landscape mode. eg Can I obtain the direction that the camera is facing when it is recording?

    This requires rotational transforms on the magnetometer readings to take into account the change in tilt orientation of the phone. Is this taken into account in the QCompass class?

    If not then do I need to access the raw magnetometer data to be able to do this? Any help would be appreciated


  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: QCompass accuracy as phone is tilted in landscape mode

    as far as I know, symbian sensor framework implementation for the Compass, does indeed use both accelerometer (for device tilt) as well as Magnetometer, so it should (at least in theory) work just fine in both orientations.

    Anyway, to see how the device behaves, you should test the functionality in a real device.

Similar Threads

  1. What are the GUI rules for landscape mode?
    By MobileVisuals in forum [Closed] Publishing to Nokia Store
    Replies: 6
    Last Post: 2010-07-17, 15:42
  2. How can I set the phone to Landscape mode for all apps?
    By marquk in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-09-16, 01:44
  3. skinning in landscape mode.
    By ravinder007 in forum Symbian
    Replies: 0
    Last Post: 2007-01-24, 11:01
  4. landscape mode
    By vishwas_vincy11 in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-12-07, 02:54

Posting Permissions

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