Discussion Board

Results 1 to 2 of 2
  1. #1
    Hi

    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

    Thanks

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    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. i cant applied landscape mode to my n73???
    By caissa in forum Themes/Carbide.ui
    Replies: 3
    Last Post: 2008-07-08, 07:25
  3. 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
  4. skinning in landscape mode.
    By ravinder007 in forum Symbian C++
    Replies: 0
    Last Post: 2007-01-24, 11:01
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved