title: Detect physical gesture with accelerometer
body: <p>In an Android app I'm making, I would like to detect when a user is holding a phone in his hand, makes a gesture like he would when throwing a frissbee. I have seen a couple of apps implementing this, but I can't find any example code or tutorial on the web.</p>
  
  <p>It would be great with some thoughts on how this could be done, and ofc. </p>
  
  <p>It would be even better with some example code or link to a tutorial.</p>