You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moto G3 doesn't have a gyroscope, right?
In that case, i think that Sensor.TYPE_ROTATION_VECTOR is the problem, could you try with Sensor.TYPE_GAME_ROTATION_VECTOR?
Activity
ppamorim commentedon Nov 18, 2015
@haskellcamargo Works fine here.
eduardocalazansjr commentedon Nov 18, 2015
Same issue on 6.0 + Nexus 5 / 5x
Just changed SENSOR_DELAY_FASTEST to SENSOR_DELAY_GAME and it works fine.
Issue
haskellcamargo commentedon Nov 18, 2015
On Moto G3, it didn't work neither with

SENSOR_DELAY_FASTESTnorSENSOR_DELAY_GAME.eduardocalazansjr commentedon Nov 18, 2015
Moto G3 doesn't have a gyroscope, right?
In that case, i think that Sensor.TYPE_ROTATION_VECTOR is the problem, could you try with Sensor.TYPE_GAME_ROTATION_VECTOR?
haskellcamargo commentedon Nov 18, 2015
I've already done it. Neither of them work. Both fail with the same
E/SensorManager: sensor or listener is nullerror.ShyaamJadhav commentedon Feb 24, 2016
can we make this work for lower android versions like kitkat.
I tried to test this on samsung grand 2 mobile and made changes like,
changed SENSOR_DELAY_FASTEST to SENSOR_DELAY_GAME and
Sensor.TYPE_ROTATION_VECTOR to Sensor.TYPE_GAME_ROTATION_VECTOR
andersonbadari commentedon Jul 15, 2016
same here.