Calibration of gravity and magnetic field sensor in Android - Huawei P9 Questions & Answers

Hello everybody
I have a Huawei P9 Plus smartphone running Android 7.0 and I have written an App which collects sensor data. For the gravity sensor Android is telling me that the accuracy is unreliable. For the magnetic field sensor I'm getting medium accuracy. For all other sensor I have high accuracy.
Is there a way to calibrate the gravity and magnetic field sensor?

Related

[Q] Is there a way to monitor/poll the fingerprint sensor like other sensors?

I wanted to know if I can 'listen' to the fingerprint sensor when the phone's on. Kind of how the Nexus Imprint listens to the sensor when the phone is locked.

Ambient light sensor, proximity sensor, compass, accelerometer stopped working.

Ambient light sensor, proximity sensor, compass, accelerometer stopped working when my phone fell down. Any idea to get it repaired. I don't have warranty.

Is there a gyroscope sensor on this phone?

I googled a lot and could not found if there is a gyro sensor on this phone or not.
Is there a gyroscope sensor? And if there is, do you know if it's real or virtual?
No

How does the virtual proximity sensor work?

Hello,
does anyone know how the virtual proximity sensor works?
AIDA64 and other apps say it is a "Ear Hover Proximity Sensor (ProToS)"
The same sensor should be in the Galaxy A51 as I found here
http://stools.gleamolabs.com/sensors/devices/1698
I know that it has no more real infrared proximity sensor.
Just accidentally stumbled over this post. Can you tell me how this ear hover proximity sensor performs? From the name I'd guess it only detects proximity if an ear is actually covering the sensor, and pocketing the device or waving your hand over the sensor will not trigger it, correct?
https://www.reddit.com/r/GalaxyS20FE/comments/jel1bw
https://www.reddit.com/r/GalaxyS20FE/comments/kt76c4
when I first heard about this phone it sounded like a fantastic device, that impression keeps getting eroded.

Replace proximity sensor with ambient light sensor.

Hello.
Im new to tasker, my problem is my proximity sensor is almost useless since the front glass is broken on the top of it.
Is there a way to read the ambient light values and trigger some functionalities. Such as AOD and lift to check. Using pixel 3xl btw.

Categories

Resources