Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User BDvirus's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Hi to all ,


    There is any option to do that ??




    Best Regards,
    Dvir.

  2. #2

  3. #3
    Registered User BDvirus's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Quote Originally Posted by skumar_rao View Post
    Thanks for the quick reply.


    I have saw this post and succeed to Hide my Application from the Task list.

    But how can I hide OTHER Apps from the task list (by UID or something) ??





    Thanks,
    Dvir.

  4. #4
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    i am not saying it is the same code but if you can get the wgid then you can DoIt.

  5. #5
    Registered User BDvirus's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Quote Originally Posted by skumar_rao View Post
    i am not saying it is the same code but if you can get the wgid then you can DoIt.
    So you think that is possible ? did you try to hide other(not your own) application?


    Code:
    const TUid KPhoneAppUid = { 0x2010305B };
    TApaTaskList tlist(iEikonEnv->WsSession());
    TApaTask app(tlist.FindApp(KPhoneAppUid));
    Now, I had the app.WgId() but I don't know why it's not working
    can you help me with the please ?

    maybe:
    Code:
    	TInt wgId = app.WgId();
    	RWsSession session = iEikonEnv->WsSession();
    	CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(session, wgId);
    	wgName->SetHidden(ETrue);
    	wgName->SetWindowGroupName(iEikonEnv->RootWin());
    	CleanupStack::PopAndDestroy(); // wgName
    but this is also not working... ;(

    Thanks,
    Dvir.

  6. #6
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    make sure you have SwEvent Capability

  7. #7
    Registered User BDvirus's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Quote Originally Posted by skumar_rao View Post
    make sure you have SwEvent Capability
    yes I had...
    CAPABILITY ReadDeviceData ReadUserData SwEvent UserEnvironment WriteDeviceData WriteUserData

    Still Not Working... ;(

    any idea????
    Last edited by BDvirus; 2009-02-03 at 15:03.

  8. #8
    Registered User BDvirus's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Any suggestion????

  9. #9
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    Do check that you actually got the capability for your executable (i.e. nothing went wrong when compiling it), you could do this for example with Y-Tasks:rocesses plugin.

  10. #10
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    You may also want to check it in the emulator, where capabilities do not matter that much. And consider trying other variants of SetWindowGroupName/L, iEikonEnv obviously refers to your own application, assigning its name to an other application might not make much sense (to be honest I do not fully understand the exact role of this line even in the original code).

  11. #11
    Registered User BDvirus's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Symbianyucca thanks you but I already check my capability and this is defentlly not the problem..

    wizard_hu_ I am trying to understand this code .. look this article by nokia wiki
    (its appointed to S60 1st Edition and S60 2nd Edition my Platform s60 3rd FP1)

    Code:
    TInt wgId = app.WgId();
    	RWsSession session = iEikonEnv->WsSession();
    	CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(session, wgId);
    	wgName->SetHidden(ETrue);
    	wgName->SetWindowGroupName(iEikonEnv->RootWin());
    	CleanupStack::PopAndDestroy(); // wgName
    The problem that also to my application it's not working ...

    Wizard_hu_ and Symbianyucca can you check that code please ??


    Best Regards,
    Dvir.
    Last edited by BDvirus; 2009-02-03 at 22:17.

  12. #12
    Registered User jeffqu's Avatar
    Join Date
    Mar 2008
    Posts
    1
    you can use:
    HideApplicationFromFSW(ETrue);

  13. #13
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Quote Originally Posted by jeffqu View Post
    you can use:
    HideApplicationFromFSW(ETrue);
    That method serves an other purpose than what the question was (! 8 months ago) about.

Similar Threads

  1. adding application in the list of active standby apps?
    By passionateamit in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-09-26, 08:59
  2. How do i exclude a hidden app from the list of open apps?
    By marktheimmortal in forum Symbian C++
    Replies: 2
    Last Post: 2008-08-12, 14:45
  3. Replies: 2
    Last Post: 2008-06-11, 11:02
  4. Application closed, but Icon remains in task list without title of icon.
    By bnvaikos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2007-10-29, 12:29
  5. Hide Application from task list
    By ekramulhuq in forum Symbian C++
    Replies: 0
    Last Post: 2003-10-13, 05:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved