You Are Here:

Community: Developer Discussion Boards

#1 Old 6120 Navigator: compass access - 2008-02-15, 09:03

Join Date: Feb 2008
Posts: 16
matbal
Offline
Registered User
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 09:14.
Reply With Quote

#2 Old Re: 6120 Navigator: compass access - 2008-05-20, 00:43

Join Date: Apr 2004
Posts: 7
Location: Auckland, New Zealand
westie
Offline
Registered User
It appears that it doesnt use the JSR 179, but I am wondering if it uses the JSR 256?
Reply With Quote

#3 Old Unhappy Re: 6120 Navigator: compass access - 2008-10-15, 09:16

Join Date: Mar 2003
Posts: 45
nicholso
Offline
Registered User
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 09:18. Reason: added code link
Reply With Quote

#4 Old Re: 6120 Navigator: compass access - 2008-10-15, 16:32

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
No, the documentation says that 5th Edition supports it, not 3rd Edition FP2
See the thread linked above for more complete answer

Hartti
Reply With Quote

#5 Old Re: 6120 Navigator: compass access - 2008-10-26, 18:17

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
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,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Carbide.c++ 1.2为何不能update? 谁能给我一份能够安装在UIQ3.1手机上的TRK.sisx linlone Symbian 3 2008-01-10 07:31
Nokia 6101 Locked 2 TMobile Midlet can't access internet... Jason Glass Mobile Java Networking & Messaging & Security 45 2007-11-14 03:19
N70 Access Point becomes Unusable ravey72 General Symbian C++ 0 2007-04-18 11:58
Gateway IP address in Nokia 6600 access point yashodhan General Discussion 0 2004-10-01 13:22
Why use direct screen access? Kalderas General Symbian C++ 3 2003-10-10 15:29

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d162470X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZlocationQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxlocationE2dbasedE2dservicesX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ