×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    9

    Orientation on nokia N95

    Hi guys,

    Quick question is location based Orientation supported on the N95??, i have taken a look at some of the old threads but nothing too specific. i want to utilize the javax.microedition.location.Orientation; package but after testing i dont think it is supported i might have to use the tilt sensor on the N95 do you know which api uses it? if anyone can shed any light on this issue i will be grateful

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    9

    Re: Orientation on nokia N95

    Note: Can someone explain how the compass function works on the N95 it must be using some sort of sensor or complex math to get the direction of the device

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: Orientation on nokia N95

    Sensors with N95 have nothing really to do with location based services. The Compass on ti works with GPS. For articles & examples, check our Wiki..

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Orientation on nokia N95

    Having two known consecutive positions you can use the APIs (look for Bearing in the SDK help) or your own math to calculate the direction of the movement.
    A Google search for the same would return you entries such as http://gpsinformation.net/main/gpsbearing.htm
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Registered User
    Join Date
    Nov 2008
    Posts
    9

    Re: Orientation on nokia N95

    Thanks for the quick replies guys, the lack of orientation implementation on the n95 is frustrating to say the least. I am going to look into some bearing calculations o and the lack of trigg functions such as asin acos and atan is no help either!

    Thanks again

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Orientation on nokia N95

    There's something missing from every phone and for N95 the compass sensor might be indeed suh a missing feature, although it doesn't seem to be missed by many developers/users.

    As for trigonometry functions look for the Math class in e32math.h
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58
  2. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24

Posting Permissions

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