I need to add a shake feature that will refresh my Android application.
All I find of documentation involves implementing the SensorListener
, but Eclipse tells me it’s deprecated and suggest SensorEventListener
.
Anybody that has a nice guide to how I go about creating this shake controller
?