title: Detecting phone rotation (movement)
body: <p>Is this possible to detect when the phone moves like on the image? What is the name of this in android?</p>
  
  <p>Is there any event that handle this kind of things? A year ago I saw an App with a compass and it was working in real time.</p>
  
  <p>Thanks!</p>
  
  <p><a href="https://i.stack.imgur.com/XGYcF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XGYcF.png" alt="enter image description here"></a></p>