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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -