Wednesday, October 01, 2008

How to observe the flip open and flip close event

If you wanted to observe the flip open and flip close event in case of N93. then you have to use EnableScreenChangeEvents and try capturing events EEventCaseClosed, EEventCaseOpen in RunL()

if(iStatus == KErrNone)
{
TWsEvent e;
ws.GetEvent(e);
switch(e.Type())
{
case EEventCaseClosed:
case EEventCaseOpen:

}
}

No comments:

stats counter