Reputation: 5935
I am developing an android application which involves shaking sensor in android emulator.I have implemented functionality and 4 screens.Now I am facing problem how to implement shake listener in android.Can anybody tell me in advance.Regards Tushar
Upvotes: 0
Views: 2485
Reputation: 6447
Few weeks ago I had the same question as you and first thing I did was google "android shake listener" and found several nice tutorials. This one might be what you're looking for, isn't it?
Upvotes: 0
Reputation:
You have to use the motion sensor. Here is a good tutorial that describes how to do that:
http://www.clingmarks.com/?p=25
Upvotes: 1