- Home /
I had bad informations
Problem Gyroscope enabled
Hi,
I need to use the gyroscope for an application and I have a problem. I initialize in the start Input.gyro.enabled=true but after this frame, it becomes false. I don't understand because my tablet has a gyroscope (it's a Galaxy Tab A and its model is SM-T550). But when i try on a smartphone with the same APK it works. My tablet has an Android version that is 5.0.2 and the smartphone has a version that is 5.1.1. Do you think that the problem comes from here ?
The minimum API level in player settings is at Android 2.3.1 and I added in the AndroidManifest these 2 lines :
Where do you think the problem comes from ? Thank you for your replies and sorry for my english.
<uses-permission android:name="android.permission.gyroscope" />
<uses-feature android:name="android.hardware.sensor.gyroscope"/>
here are the lines
The problem was that I saw the bad informations... $$anonymous$$y tab doesn't have a gyr sensor... Sorry for the disturb