Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User matbal's Avatar
    Join Date
    Feb 2008
    Posts
    14
    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 westie's Avatar
    Join Date
    Apr 2004
    Location
    Auckland, New Zealand
    Posts
    7
    It appears that it doesnt use the JSR 179, but I am wondering if it uses the JSR 256?

  3. #3
    Registered User nicholso's Avatar
    Join Date
    Mar 2003
    Posts
    45
    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
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    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 cyke64's Avatar
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352
    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. Replies: 3
    Last Post: 2008-01-10, 06:31
  2. 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
  3. N70 Access Point becomes Unusable
    By ravey72 in forum Symbian C++
    Replies: 0
    Last Post: 2007-04-18, 10:58
  4. Gateway IP address in Nokia 6600 access point
    By yashodhan in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-01, 12:22
  5. Why use direct screen access?
    By Kalderas in forum Symbian C++
    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
  •  
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