title: Detect device moving detail
body: <p>I am doing a demo in which when I move device like on top-left, top-right,top-center and bottom-right, bottom-left, bottom-center, center-right, center-left this type of movement I need to detect so that I am looking for accelerometer and gyroscope sensor. Am I going on the right track or not?</p>
  
  <p>Do you have any demo or any link?</p>