Sunday, March 6, 2016

application development - Get sensor values Ubuntu Touch

I'm new to Ubuntu applications and I'm trying to make an application for Ubuntu Touch that reads the values from the sensors (Accelerometer, Gyroscope,...) but I don't know where to begin. Which language to use? QML, C++.. I've done a thorough search around the web and I couldn't find a single sample application using sensors in ubuntu touch.


I've tried to use QtMobility and the QtSensors plugin with QtCreator but it only runs the code on the desktop. When I try to run the app on the device a message saying that the modules are not installed appears. So, I don't know if QtSensors is implemented in Ubuntu Touch or even if this is the right way to access sensors in Ubuntu touch.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...