(sensorManager is a SensorManager) I'm trying to implement an orientation listener for my program. I declare the listener as a SensorEventListener. The API says I need to pass registerListener a SensorEventListener, Sensor, rate, and handler. What is the handler for?
Also, when I mouse over the error, it insists I use the deprecated veresion of the method for a SensorListener instead of a SensorEventListener. And this deprecated version doesn't require a handler. Anyone know why?