Replies: 3 comments 2 replies
-
200 Hz should be sufficient, as XR displays generally don't exceed 120 Hz. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We have some ANR's reported to Google Play with this call stack:
The first thing I did was look for a way to disable monitoring sensors, didn't find one, so just commented out the code. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Version 4.4-beta4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I could not find any settings to disable the sensors (to save battery and CPU).
Normal apps and games will rarely use the sensor data.
There are other sensors, e.g.
TYPE_LIGHT
, which many smartphones should have. I think this sensor could also be used creatively in an app or game.https://developer.android.com/guide/topics/sensors/sensors_overview
https://github.com/godotengine/godot/blob/master/platform/android/java/lib/src/org/godotengine/godot/Godot.kt#L91
https://github.com/godotengine/godot/blob/master/platform/android/java/lib/src/org/godotengine/godot/Godot.kt#L496
Sensor Rate-Limiting
https://developer.android.com/guide/topics/sensors/sensors_overview#sensors-rate-limiting
android.permission.HIGH_SAMPLING_RATE_SENSORS
Is the limitation still sufficient for XR apps?
In the 'Android Export' dialog could not find this permission yet.
Beta Was this translation helpful? Give feedback.
All reactions