×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    5

    Detect application on foreground with FEP?

    Hi everyone.

    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).

    Thanks,
    Gijsbert

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169
    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.

    yucca

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×