[maemo-developers] python set_device_state_callback

From: Kemal Hadimli disqkk at gmail.com
Date: Fri Aug 24 00:09:40 EEST 2007
You could try using the code from Kagu. ScreenMonitor class from
maemo.py: https://www.guardiani.us/projects/kagu/browser/trunk/src/kagu/maemo.py

Hope this helps.

On 8/23/07, Tony Maro <tonymaro at gmail.com> wrote:
> I've been trying for hours to get a callback set so I know when the screen
> turns off.
> I've even tried running the sample code found at:
> http://pymaemo.garage.maemo.org/documentation/python_osso_examples/index.html
> Nothing I do makes the callback happen.  Does anyone have any better
> documentation of how to do this?


More information about the maemo-developers mailing list