I have an Android app that displays a random string after the user shakes the phone. It worked perfectly before, when I used SensorListener but now the SensorListener has been deprecated and they suggest I use SensorEventListener now.
Now my app does not work with SensorEventListener and I need someone who is familiar with android app development to look into my code and fix the problem.
Winning programmer will also be added to my favorites because I need a lot more app development in the future.