[maemo-developers] How to catch “lock screen event”?

From: Xin Zhang Xin.Zhang at ifeservices.com
Date: Wed Jul 28 05:45:55 EEST 2010
Hi all,

I'm developing a game for n900 using SDL. How do I catch system events (like lock screen switch turned on/off, screen gets locked automatically, or incoming call during game play)? 

Right now when the game is running, I could not catch the system events (like lock screen switch turned on/off, screen gets locked automatically, or incoming call during game play). Therefore, the game is still active running even screen is locked. I hope I can catch these system events and make the game paused. Could anyone give me some direction in fixing the problem? 

I've posted a thread in [http://talk.maemo.org/showthread.php?t=59238]. Many thanks!

Best regards,
Zhang Xin

Sent on behalf of IFE Services Ltd

This email (including any attachments) is for its intended-recipient's use only. 
This email may contain information that is confidential or privileged. 
If you received this email in error, please immediately advise the sender by replying to this email and then delete this message from your system.

_______________________________________________________________________
This email has been scanned for all viruses by Netscalibur Mail Scanner, powered by MessageLabs.
More information about the maemo-developers mailing list