Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Could someone explain to me the meaning of 3 axis x, y & z of Magnetometer

share|improve this question
This isn't Android-specific, and general reference. – Matthew Read Jan 30 '12 at 18:13

closed as off topic by Matthew Read Jan 30 '12 at 18:13

Questions on Android Enthusiasts Stack Exchange are expected to relate to Android within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

The magnetic field of a certain point is directional and has magnitude. The x,y,z returned by the sensor is a vector that describes the strength and direction of the magnetic field relative to the device measured in microtesla.

For example, a value of (x, y, z) = (50, 50, 0) means that there is a magnetic field sqrt(50**2+50**2+0**2) ≈ 70.7107 microtesla strong in the direction of 45 degree to X-axis and Y-axis of the device.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.