×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    15

    Not able to get keyboard events

    Hi,
    I am trying to handle keyboard events in my CGUITestAppView class.
    I already implemented following function to get keyboard events in CGUITestAppView.

    TKeyResponse HandleKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);

    After adding AddToStackL() function in CGUITestAppUi class, I am getting User::Panic() Error:KERN-EXEC:3

    void CGUITestAppUi::ConstructL()
    {
    BaseConstructL();

    // Create view object

    iAppView = CGUITestAppView::NewL( ClientRect() );
    AddToStackL(iAppView);
    .......
    ........
    }
    Can anyone let me know why I am getting this exception?
    Is there any other method to handle keyboard events?

    Thanks and Regards,
    Yogesh
    .

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    15

    Re: Not able to get keyboard events

    Sorry. I was doing wrong thing
    I was also using following functions:

    TKeyResponse HandleKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);
    TCoeInputCapabilities InputCapabilities ( ) const;

    I removed these function now I am getting keyboard events.

Similar Threads

  1. Controlling 3650 with a PC keyboard
    By btnokdev in forum Mobile Java General
    Replies: 7
    Last Post: 2007-01-18, 11:49
  2. Handling Keyboard events
    By thilsen_06 in forum Symbian
    Replies: 6
    Last Post: 2007-01-17, 09:37
  3. Catching events with RSystemAgent
    By d00mo in forum Symbian
    Replies: 3
    Last Post: 2005-06-27, 18:04
  4. Handling keyboard events
    By glr in forum Personal Profile
    Replies: 0
    Last Post: 2005-06-17, 17:33
  5. keyboard events in a text screen
    By morati in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-23, 19:16

Posting Permissions

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