| Reply | « Previous Thread | Next Thread » |
|
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.
|
|
It appears that it doesnt use the JSR 179, but I am wondering if it uses the JSR 256?
|
|
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
|
|
No, the documentation says that 5th Edition supports it, not 3rd Edition FP2
See the thread linked above for more complete answer Hartti |
|
Quote:
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| 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 |