3

I want to add a shake listener to my android application. What i want here, when i will shake my android device it will perform some action. How to do this ? Later i want when my deice will fall down it will produce a sound. How to do this? Please some body help!

Rais Alam
  • 6,970
  • 12
  • 53
  • 84
Sudipta Som
  • 6,537
  • 9
  • 43
  • 67

1 Answers1

7

You will find useful stuff at: android-shake-detection-listener also look at here: android-i-want-to-shake-it

Hope this helps.

Community
  • 1
  • 1
Harry Joy
  • 58,650
  • 30
  • 162
  • 207