I have been looking at other answers on here and I'm not sure any of them help me understand how to implement what I want.
I'm trying to build an app that is essentially a Magic 8 Ball. I want to know when the person starts to shake the phone and then when they stop. And when they stop, call another method that generates an answer and also disables any shaking until they press a "Ask Again" button. Any tutorials on the proper Sensors I need for this and how they work would be appreciated.
I'm pretty sure I should be implementing the SensorListener class however I'm just unsure of how it works entirely, so forwarding me to any resources would be helpful, thanks.