[maemo-developers] listenning for orientation changes using dbus

From: David Hautbois david.hautbois at free.fr
Date: Tue Oct 19 22:39:43 EEST 2010
Hello
I'm looking for a way to listen for orientation changes using dbus.
the subscription to the mce dbus service "sig_device_orientation_ind"
works fine, but only when the device is unlocked.
I'm using this to avoid battery draining.

I also tried Qmobility, but this uses 10% of CPU.
I don't think that an infinite loop querying the orientation is the good
trick....

How to enable this signal when the device is locked ?
Is there another way ?

Thanks.

David.

More information about the maemo-developers mailing list