Ah!! Look at this:
http://community.developer.motorola.com/t5/Android-App-Development-for/Xoom-magnetometer-Y-axis-always-reads-zero/td-p/14184

LOOL @ Motorola.
We're already on 3.2 and the problem is still not fixed :(

On Thu, Jul 21, 2011 at 00:27, Carlos Silva <[email protected]> wrote:

> On Thu, Jul 21, 2011 at 00:12, Adam Ratana <[email protected]> wrote:
>
>> On Wed, Jul 20, 2011 at 8:04 PM, Carlos Silva <[email protected]> wrote:
>>
>>> After some digging, looks like my accelerometer events are getting
>>> "dropped" by me because they are unreliable.
>>> I filter the events on the eventlistener:
>>> // If the sensor data is unreliable return
>>>             if (event.accuracy == SensorManager.SENSOR_STATUS_UNRELIABLE)
>>>
>>> And they really are. Compared to the N1 I get something differences from
>>> 50 to 60 degress between the two (pointing to the same direction of course).
>>>
>>
>> Yes, you will want to calibrate your device.  If you're developing things
>> with the compass/accelerometer you will find you will be doing this many,
>> many times.  You can use the unreliable accuracy to notify your users to do
>> the same.
>>
>
> Doesn't seem to want to calibrate. Do I need a special app for that? just
> circling it around doesn't make the values reliable :(
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to