×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    14

    6120 Navigator: compass access

    Dear all,

    Does anyone know how to access the built-in compass of the Nokia 6210 Navigator in a J2ME midlet? May it be used via the JSR179, the Location API?

    Thanks in advance,
    Mat
    Last edited by matbal; 2008-02-15 at 08:14.

  2. #2
    Registered User
    Join Date
    Apr 2004
    Location
    Auckland, New Zealand
    Posts
    7

    Re: 6120 Navigator: compass access

    It appears that it doesnt use the JSR 179, but I am wondering if it uses the JSR 256?

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

    Unhappy Re: 6120 Navigator: compass access

    According to JavaTM ME Developer's Library 3.0:
    http://www.forum.nokia.com/document/...opers_Library/

    Implementation notes > Changes between releases > says that Nokia J2ME SDK FP2 should allow Orientation.

    Orientation
    The Orientation implementation accesses the Tilt Compensation plug-in by using the native sensor framework to fetch the azimuth (horizontal pointing direction) data. Pitch and Roll data are not supported.

    If the sensor framework is able to determine the azimuth data, getOrientation returns the orientation object with accurate azimuth value. If the azimuth data can not be determined, the call returns null.

    The orientation implementation checks for the compass calibration, if the compass is not calibrated the method getOrientation returns null. For instructions on calibrating the compass, see Nokia 6210 Navigator support at Nokia web site.

    Pitch and Roll data values default to Float.NaN.


    I tried this with J2ME code example but get a LocationException with N6210 Navigator handset when trying to access inbuilt compass azimuth:
    http://discussion.forum.nokia.com/fo...d.php?t=147285
    Last edited by nicholso; 2008-10-15 at 08:18. Reason: added code link

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: 6120 Navigator: compass access

    No, the documentation says that 5th Edition supports it, not 3rd Edition FP2
    See the thread linked above for more complete answer

    Hartti

  5. #5
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: 6120 Navigator: compass access

    Quote Originally Posted by nicholso View Post
    According to JavaTM ME Developer's Library 3.0:
    http://www.forum.nokia.com/document/...opers_Library/

    Implementation notes > Changes between releases > says that Nokia J2ME SDK FP2 should allow Orientation.

    Orientation
    The Orientation implementation accesses the Tilt Compensation plug-in by using the native sensor framework to fetch the azimuth (horizontal pointing direction) data. Pitch and Roll data are not supported.

    If the sensor framework is able to determine the azimuth data, getOrientation returns the orientation object with accurate azimuth value. If the azimuth data can not be determined, the call returns null.

    The orientation implementation checks for the compass calibration, if the compass is not calibrated the method getOrientation returns null. For instructions on calibrating the compass, see Nokia 6210 Navigator support at Nokia web site.

    Pitch and Roll data values default to Float.NaN.


    I tried this with J2ME code example but get a LocationException with N6210 Navigator handset when trying to access inbuilt compass azimuth:
    http://discussion.forum.nokia.com/fo...d.php?t=147285
    Not supported with java but you can try the sensor FrameWork with C++

    I hope that it can help you

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

Similar Threads

  1. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  2. N70 Access Point becomes Unusable
    By ravey72 in forum Symbian
    Replies: 0
    Last Post: 2007-04-18, 10:58
  3. Gateway IP address in Nokia 6600 access point
    By yashodhan in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-01, 12:22
  4. Why use direct screen access?
    By Kalderas in forum Symbian
    Replies: 3
    Last Post: 2003-10-10, 14:29

Posting Permissions

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