Same problem here,

when playing sounds during my game (in which you control the gameplay
with accelerometer)
the accelerometer gives strange values.

On 24 mei, 13:29, Bonifaz <bonifaz.kaufm...@gmail.com> wrote:
> I have the same problem of wired accelerometer data while music is
> playing.
>
> Does anyone have a workaround for this. Some kind of filter mechanism
> perhaps.
>
> I use "FloatMath.sqrt(x*x + y*y + z*z)" for shake detection.
> But even with that formular, playing music always detects shake,
> just raising the threshold won't work, since shake would not be
> detected with to high threshold.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to