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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -