I want to know that how can know that phone main view is in focuse.that means phone is in home screen and no key is pressed or user is not doing any work.I used the following Code .
TInt iPhoneId =CEikonEnv::Static()->WsSession().FindWindowGroupIdentifier(0,_L("*Phone?"));
if(CEikonEnv::Static()->WsSession().GetFocusWindowGroup() == iPhoneId )
It is working .But The condition is also true when user is dialing the number .That mean number dialog is visseble But in this case i want the condition False.How can i do it
Pls help Its Urgent
Thanka in advance