What is your code giving you that's unsatisfactory?

Depending on your definition of "shake", you could probably
tell the difference between "side to side" vs "up and down"
but you will likely get very inconsistent results if you try to
distinguish "leftward" vs "rightward".  Your hand often
anticipates a little, moving left before a big rightward jerk.
(Google "anticipation animation" for more.)

On Jan 14, 6:27 am, TsEMaNN <[email protected]> wrote:
> Hello developers,
>
> I have got a problem concerning the SensorListener. At the moment I
> can already detect if the phone got shaken. Addtionally I now want to
> detect in which direction the phone is shaken. Do you maybe know which
> values I have to consider to detect this?

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