I would like to know what other functionality is provided by the magnetometer inside android devices besides allowing applications to display a compass. Can an app do anything else with it besides display compass functionality?

  • Programming related questions are off-topic as per FAQ – Flow Apr 7 '13 at 10:52
  • This question is not about programming. It's about what programmers can achieve, that is, about what the device can do. – user2239505 Apr 7 '13 at 13:27
  • Edited and reopened – Flow Apr 7 '13 at 14:45

Magnetometer reports the magnetic strengths on the three axes of the phone. Can work as compass , metal detector and can also be used to increase mapping accuracy.


The magnetometer measures magnetic field, so it can do anything a magnetometer can do. Other than compass, the magnetometer can be used as a metal detector for instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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