Onsensorchanged() Not Called
I am coding an Android application but I have some trouble using the accelerometer. Strangely, my function onSensorChanged() is not called and I don't know why :/ Could you help me
Solution 1:
Register for the sensor Sensor.TYPE_ACCELEROMETER rather than Sensor.TYPE_ORIENTATION.
Post a Comment for "Onsensorchanged() Not Called"