January 2020
Intermediate to advanced
426 pages
9h 39m
English
Let's move on to a simple example that returns the device's position, accelerometer, gyroscope, ambient light, and magnetometer readings. Here's what our application looks like when running on a Huawei phone:

Note that my Huawei phone does not have a magnetometer, so these readings aren't being updated. Let's see how this works:
QT += quick positioning sensors
Read now
Unlock full access