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,892
  • 12
  • 51
  • 84
Sudipta Som
  • 6,427
  • 9
  • 42
  • 66

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
  • 57,133
  • 30
  • 158
  • 207