×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    23

    keys Notification in background.

    Hi

    i am new in symbian.
    i have developed an application, this application is running in background.

    OfferKeyEventL funtion is not working in this application.

    then i have follow "http://www.developer.nokia.com/Community/Wiki/Capturing_keys_in_background"

    But in this example "void CKeyCapturer::RunL()" is not call on key press.

    i want to get "EStdKeyDevice1,EStdKeyEnd,and EStdKeyNo" key notification.
    how i can do this.please help me to solve this kind of issue.

    Thanks.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: keys Notification in background.

    Basically the key capturing works in a way that only one receiver will get the event, thus if there is multiple capturing apps active same time, only the one defining highest priority for the capturing will get it. thus you might want to check with higher capturing priority.

    also note that if you finally get the key, others will not get it, so you should see that the device is still usable after your key capturing.

    Also do remember the SwEvent capability required by the API, and note that it does not work with self signing..

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,688

    Re: keys Notification in background.

    The device also matters to some extent: CaptureKey can capture real, physical buttons only. So the green/red rectangles appearing on the touchscreen of many Symbian^3 and later devices can not be captured.

Similar Threads

  1. Capturing Keys Background
    By frcc24 in forum Symbian
    Replies: 4
    Last Post: 2010-10-08, 13:55
  2. Help with capturing keys in background
    By fabiocberg in forum Symbian
    Replies: 2
    Last Post: 2010-06-04, 16:31
  3. Keys in background
    By mastermindcoders in forum Symbian
    Replies: 1
    Last Post: 2010-04-18, 17:44
  4. Capturing background keys and forwarding
    By schrecklichkeit in forum Symbian
    Replies: 10
    Last Post: 2010-02-14, 08:46
  5. Background to Foreground Shortcut( 2 keys)
    By priya83 in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-10-02, 09:39

Posting Permissions

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