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