I would like to be able to capture big movement on my Android phone for a game. For example a stroke with the arm to the right, left or other direction and to be able to differentiate them.
Is there something that already exist for this ?
What sensor should i use for that purpose and why ?
Thx
You should use accelerometer. The direction in which you get a difference in acceleration helps you detect the movement of the arm. Don't pay attention to values of the accelerometer, rather to the differences: you can't detect where the arm is, neither if it moved, but you can detect if it accelerated and decelerated to move.