I launched the Erel "SensorExample" app from the "Orientation and accelerometer" post (https://www.b4x.com/android/forum/threads/orientation-and-accelerometer.6647/#content) on a Huawei Honor 7S smartphone.
However, it is indicated that the ORIENTATION sensor is not supported.
However, by installing any of the numerous applications available on Google Play entitled "clinometer" on the same smartphone, these apps all manage to measure the inclination of the smartphone, in other words its orientation.
How do they do it ?
Perhaps by interpreting the accelerometer data? If yes, how?
Thanks in advance.
However, it is indicated that the ORIENTATION sensor is not supported.
However, by installing any of the numerous applications available on Google Play entitled "clinometer" on the same smartphone, these apps all manage to measure the inclination of the smartphone, in other words its orientation.
How do they do it ?
Perhaps by interpreting the accelerometer data? If yes, how?
Thanks in advance.