You Are Here:

Community: Developer Discussion Boards

#1 Old Access compass via J2ME - 2008-02-14, 15:04

Join Date: Feb 2008
Posts: 16
matbal
Offline
Registered User
Dear all,

Does anyone already know how the built-in compass in the brand new 6210 Navigator can be accessed in a midlet? Can it be used via the JSR 179, the Location API?

http://www.forum.nokia.com/devices/6210_Navigator

Thanks in advance!
Mat
Reply With Quote

#2 Old Re: Access compass via J2ME - 2008-04-10, 15:55

Join Date: May 2006
Posts: 7
Location: Brazil
borje.karlsson
Offline
Registered User
I'd also be very interested in this.

Does anyone have any info on it? Any info on accessing it through Symbian would also be very useful.

Thanks.
Reply With Quote

#3 Old Re: Access compass via J2ME - 2008-04-11, 13:48

Join Date: Feb 2008
Posts: 20
michaelcmoore
Offline
Registered User
Quote:
Originally Posted by matbal View Post
Does anyone already know how the built-in compass in the brand new 6210 Navigator can be accessed in a midlet? Can it be used via the JSR 179, the Location API?
The 6210 developer page says JSR179 is supported and JSR179 has the Orientation class so I would be pretty confident this is going to work.

What I'd really like to know is if I can get to the acceleration sensor!!!

- Mike
NAVTEQ Network for Developers
http://www.nn4d.com
Reply With Quote

#4 Old Re: Access compass via J2ME - 2008-04-11, 21:38

Join Date: Sep 2004
Posts: 7,953
Location: Tampere, Finland
ltomuta's Avatar
ltomuta
Offline
Forum Nokia Expert
No idea about java but on S60 the sensor framework (magnetometer included) is separated from the location framework. Of course the PSYs can be extended to access the sensor themselves and thus provide orientation throught the location framework too.
Reply With Quote

#5 Old Re: Access compass via J2ME - 2008-04-12, 01:06

Join Date: Feb 2008
Posts: 20
michaelcmoore
Offline
Registered User
Quote:
Originally Posted by ltomuta View Post
No idea about java but on S60 the sensor framework (magnetometer included) is separated from the location framework. Of course the PSYs can be extended to access the sensor themselves and thus provide orientation throught the location framework too.
So it's not possible to access the compass using JSR179? Is there a C++ API? If not, it's pretty pointless having the hardware :-)
Reply With Quote

#6 Old Re: Access compass via J2ME - 2008-04-12, 14:18

Join Date: Sep 2004
Posts: 7,953
Location: Tampere, Finland
ltomuta's Avatar
ltomuta
Offline
Forum Nokia Expert
My comment does not mean in any way that the hardware is not accessible. I'm merely stating that at least on C++ there is a dedicated framework for sensors and the magnetometer can be accessed through it rather than the Location framework. This makes a lot of sense, at least to me.

I'll try to get more info and update you on this issue.
Reply With Quote

#7 Old Re: Access compass via J2ME - 2008-04-14, 12:36

Join Date: Feb 2008
Posts: 20
michaelcmoore
Offline
Registered User
Quote:
Originally Posted by ltomuta View Post
My comment does not mean in any way that the hardware is not accessible.
Sorry... didn't mean it as a serious comment, hence the smiley.

Quote:
Originally Posted by ltomuta View Post
I'm merely stating that at least on C++ there is a dedicated framework for sensors and the magnetometer can be accessed through it rather than the Location framework. This makes a lot of sense, at least to me.
It makes a lot of sense, if you use C++. It is very frustrating if you use JME.

Quote:
Originally Posted by ltomuta View Post
I'll try to get more info and update you on this issue.
Thanks.

Mike
Reply With Quote

#8 Old Re: Access compass via J2ME - 2008-05-20, 00:00

Join Date: Apr 2004
Posts: 7
Location: Auckland, New Zealand
westie
Offline
Registered User
I have been testing against a 6210, and using the Orientation via the JSR-179 does not recognise the compass. The GPS works fine.

If anyone has any ideas as to how to access the compass, please post here.

Thanks.
Reply With Quote

#9 Old Re: Access compass via J2ME - 2008-08-26, 10:16

Join Date: Feb 2008
Posts: 16
matbal
Offline
Registered User
Hi Westie,

Any news concerning the compass issue? Did you find a solution?

Best regards!
Reply With Quote

#10 Old Re: Access compass via J2ME - 2008-08-30, 02:48

Join Date: Aug 2008
Posts: 2
Location: Moscow, ID, USA
deruwe's Avatar
deruwe
Offline
Registered User
Has anyone figured out how to access the compass on the Nokia 6210 Navigator yet?
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
Setup Default Access Point for j2me 2.0 midlet scheung3 Mobile Java General 3 2004-11-25 04:09
J2ME Ring tone access deaglanoceallaigh Mobile Java General 1 2004-02-18 10:31
RS232 access by J2ME applications supported? roriBln Mobile Java General 1 2003-03-18 09:04
Do shared RecordStores in J2ME 2.0 mean access to phone data? stevejarrett Mobile Java General 0 2002-09-24 21:03
Does J2ME permits to access MMS phone functionalities ? zolive Mobile Java General 0 2002-06-14 17:58

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