Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

Because work on this is not yet done (only some). Full support will be for QML and Qt. I think you'll probably be able to also use them with other languages eventually. There was a UDS (Ubuntu Developers Summit) session about this. To Get the best answers, it might be best to subscribe on the mailing list and ask there (just send a mail to it):

share|improve this answer
thank you labsin – JoaoM May 31 '13 at 11:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.