tvbarthel / ChaseWhisplyProject

an augmented reality attempt
537 stars 269 forks source link

Rotation Sensor problem #10

Open ersanyakit opened 8 years ago

ersanyakit commented 8 years ago

"Sorry, your device appears to be incompatible ( rotation sensor)"

LG Magna

game cant be start.

mesutpiskin commented 7 years ago

Does anyone know the reason for this error?

Tested; Samsung Note Series, LG G2, G3 Vestel Venüs Series and virtual devices

vbarthel-fr commented 7 years ago

Hi @mesutpiskin,

this error happens when the "compatibility" mode is used and one of the following sensor cannot be retrieved by the application:

Here is the line where the "problem" is raised:

https://github.com/tvbarthel/ChaseWhisplyProject/blob/19ae4e10db89f3c8ec3c297820b2de7895ef7c71/ChaseWhisply/src/main/java/fr/tvbarthel/games/chasewhisply/ARActivity.java#L205-L216