×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    12

    Can't launch task manager from app

    Hello, i posted this in the very similar looking java forum earlier before i realized that i was in the wrong forum and that, like standard symbian development fashion, there has been changes...

    I have a OS6.1 game, and i want to be able to hold down on the menu button to launch the task manager. but nothing happens when i try this when my game is running (in the foreground)

    I have it set to minimize when there is an incoming call, which works, but can't figure out why i can't launch the TM using the menu button

    Any ideas?
    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Can't launch task manager from app

    Probably the game captures the menu key (among others) and doesn't forward the event correctly.

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    12

    Re: Can't launch task manager from app

    what is the correct way to forward the message?

    i override CAknAppUi::HandleWsEventL(aEvent, aDestination) and call the CAknAppUi function at the end

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Can't launch task manager from app

    Are you capturing the menu key? (RWindowGroup::CaptureKey())

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    12

    Re: Can't launch task manager from app

    yes, i am capturing all key events (including menu key) in

    CAknAppUi::HandleWsEventL()

    i do the following in HandleWsEventL():
    switch(aEvent.Type())
    {
    case EEventKey:
    break;
    case EEventKeyUp:
    // do stuff
    break;
    case EEventKeyDown:
    // do stuff
    break;

    CAknAppUi::HandleWsEventL(aEvent, aDestination);
    }

    it traps the menu button event like any other button (EEventKeyDown), and if its an event i need to use for my game, i do stuff with it, regardless i pass it off to CAknAppUi.

    I'm not sure i need RWindowGroup::CaptureKey() do i?

  6. #6
    Registered User
    Join Date
    May 2006
    Posts
    12

    Re: Can't launch task manager from app

    No one knows if what i'm doing below is right?

Similar Threads

  1. Launch J2ME App
    By sjb343 in forum Symbian
    Replies: 1
    Last Post: 2007-04-11, 08:24
  2. Can't launch task manager from app
    By ten foot ninja in forum Mobile Java General
    Replies: 0
    Last Post: 2006-07-06, 21:01
  3. Cannot launch app from emulator s60 3rd ed
    By dbagnol in forum Symbian
    Replies: 3
    Last Post: 2006-03-21, 16:26
  4. How to launch built-in Camera app programatically?
    By mike.b in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-08-02, 17:42
  5. App Manager Log
    By parisn in forum Symbian
    Replies: 0
    Last Post: 2004-05-27, 20:38

Posting Permissions

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