Hi

Do you start the accelerometer? It isn't enabled by default.

Don't know about GTK, but with Qt it goes like this:

QDBusConnection::systemBus().call(QDBusMessage::createMethodCall(MCE_SERVICE,
MCE_REQUEST_PATH,MCE_REQUEST_IF, MCE_ACCELEROMETER_ENABLE_REQ));

And when exiting the application ... MCE_ACCELEROMETER_DISABLE_REQ

Timo
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to