In theory, you can calculate velocity by integrating the accelerometer
values. So for example, along the X axis, the output is dv/dt. Thus new v =
old v + current dv/dt * time since last dv/dt. However, the accuracy of the
accelerometer is questionable. With some more math you could get rotations,
at least.

I suggest you write a little test app and get to know how the accelerometer
really works.

On Thu, Apr 8, 2010 at 8:09 AM, Paolo <[email protected]> wrote:

> Hi!
>
> Imagine to have the device perpediculare to the table, in portrait.
> The Z axis is watching to you and the Y axis to the sky.
> I want to misure the device's movement speed when I rotate it on the X
> axis.
>
> How can i get it?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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