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