×

Discussion Board

Results 1 to 2 of 2
  1. #1
    chishti.hameed
    Guest

    hide/showing a program

    When my application is autostarted then i dont want to bring it on foreground only when i start it myself.

    i'm using this code to bring it on foreground:

    TApaTask myTask(iEikonEnv->WsSession());
    myTask.SetWgId(CEikonEnv::Static()->RootWin().Identifier());
    myTask.SendToBackground();

  2. #2
    Regular Contributor
    Join Date
    Feb 2005
    Posts
    328
    Send it to the background in your recognizer...

    Remove the SendToBackground code from your App and put it into your recogniser. You may have to loop a while waiting for your app to startup before sending it to the background...

    TApaTask myTask(myWsSession);
    myTask.SetWgId(myAppUid);
    myTask.SendToBackground();

Posting Permissions

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