Motion based android application