Open JassMan23 opened 6 years ago
It is low level reading of magnetic sensor data obtained from the file /sys/devices/platform/msensor/driver/sensordata It was only tested on Bq phone, and the Nexus might not have this magnetic sensor data at this place, or maybe they have changed the place in a newer version. You should probably stick to higher level libraries.
Doesn't work on Nexus 5 D821. It displays a compass, says azimuth -1 but does absolutely nothing. Even the calibrate button doesn't react if pressed.