Wednesday, 21 August 2013

Smartphone Sensors

Sensors App demonstrates rich Qt's support for sensors on Tizen smartphones. It is available in Qt for Tizen 1.0 Alpha 3 and newer.

Available sensors include rotation, compass, accelerometer, gravity, proximity and light sensor, gyroscope, and magnetometer.



The APIs are identical to the Qt Quick APIs from Qt 5. This gives application developers exceptional level of portability across competing platforms such as Tizen, Android, BlackBerry 10, Ubuntu Phone, Sailfish OS, and more (iOS support is a work in progress).

Tizen developers can use the standard Qt Quick APIs to utilize sensors in their applications and games. The very same support is designed for many embedded devices including Tizen In-Vehicle Infotainment (IVI) products.

Support for Tizen has been added thanks to the flexible C++ sensor plugin API of Qt. As always in the case of Qt for Tizen, the same APIs are also supported by Tizen Emulator.

The video has been prepared on developer device RD-PQ, shot by Leon Anavi.

The app with full source code can be found here.


Source of the picture: Qt Docs (GFDL)