The accelerometer is raw by default. For magnetometer, use TYPE_MAGNETIC_FIELD_UNCALIBRATED
How to get raw accelerometer and Magnetometer data in Android?
-
23-06-2023 - |
سؤال
I know that, for gyroscopes, there exist TYPE_GYROSCOPE_UNCALIBRATED, which provide raw gyro data.
Does anything similar exist for accelerpmeter and magnetometer, or they are by default raw data?
المحلول
لا تنتمي إلى StackOverflow