Hello,
this is just an idea, never tried, but in avkondomainpskeys.h you can find definition of KAknKeyguardStatus:
Code:
const TUid KPSUidAvkonDomain = { 0x10207218 }; // Same as KPSUidAvkonInternal
/**
* Indicates the status of Keyguard
*
* Possible values are:
*
* 0: Keyguard is not active
* 1: Keys are locked
* 2: Autolock emulation enabled
*
*/
const TUint32 KAknKeyguardStatus = 0x00000001;
enum TAknKeyguardStatus
{
EKeyguardNotActive,
EKeyguardLocked,
EKeyguardAutolockEmulation
};
since it's a P&S key, you could try to Register for notification of changes to a property:
http://www.developer.nokia.com/Commu..._and_Subscribe
http://www.developer.nokia.com/Commu...or_subscribing
let us know if it works...
regards
pg