Hi,
Can we listen to Power Key press when device is locked. I tried with QApplication::symbianEventFilter(const QSymbianEvent *event) but it gives code 21 some times twice or thrice. It also gives same code (21) on press of Menu button. Can we differentiate between these keys when device is locked?
Secondly, I want to check the key press and hold for certain period of time, for e.g. 1/4 of second. Can we detect when Power key released ? As currently the symbianEventFilter() sends the key code when the power key is pressed but not on release.
I am using C7 with Symbian Anna.
Regards,
Jawad.



