[android-developers] Re: Quick Compass question

2009-02-24 Thread mscwd01
Simple question, only needs a simple answer... :) On Feb 23, 9:58 pm, mscwd01 mscw...@gmail.com wrote: With a normal compass you need to hold it level with the ground in order for it to work. With the compass in the G1 (and other phones I hope), are you able to hold the phone at any angle and

[android-developers] Re: Quick Compass question

2009-02-24 Thread Edward Falk
If I understand correctly, the magnetic field detectors in the phone return a 3-d answer (an xyz vector towards the north magnetic pole). The phone's built-in software takes that information, and combines it with the information provided by the accelerometers in order to return the correct answer