java - Capture big movement with Android Smartphone -


i able capture big movement on android phone game. example stroke arm right, left or other direction , able differentiate them.

is there exist ?

what sensor should use purpose , why ?

thx

you should use accelerometer. direction in difference in acceleration helps detect movement of arm. don't pay attention values of accelerometer, rather differences: can't detect arm is, neither if moved, can detect if accelerated , decelerated move.


Comments