Detect application on foreground with FEP?
I'm developing an application which needs to intercept keyevents when the user is in the main screen of the phone, so when no other applications are on the foreground.
Is a FEP the right way to do this?
If so, is there a way to detect if an application is on the foreground so I can ignore the keyevents (by returning EKeyWasNotConsumed).
Nokia Developer Expert
you could do FEP for that, but them you would also need to handle all sorts of stuff that comes with it (like T9 etc.).
Anyway, have a look into the windowgroups SDK docs, and you should find functionality to see which window group in on the top at any given time.