How to detect shake event with android?
<p>How can I detect a shake event with android? How can I detect the shake direction? </p>

<p>I want to change the image in an imageview when shaking occurs.</p>
