Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User mail2karthi07's Avatar
    Join Date
    Feb 2010
    Location
    India
    Posts
    281
    How to Hide Native Music player Application from Task List ?

    waiting for symbian experts reply ....

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,430
    Why do you want to do that?

  3. #3
    Registered User mail2karthi07's Avatar
    Join Date
    Feb 2010
    Location
    India
    Posts
    281
    Its my requirement. need to Hide Native Music player Application from User Menu

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    Yep, I suppose it is the thing that it can play to the uplink, and symbian^3 sources appears to be including nice API for controlling it. thus I'm assuming that teh requirement is to hide the fact that the music player is used for the task there.. Anyway, sofar I have seen the hiding to work from applciation itself, anyway, maybe you could search how that was done, and put your searching skills in use again and see whether you could tap those from outseide..

  5. #5
    Registered User mail2karthi07's Avatar
    Join Date
    Feb 2010
    Location
    India
    Posts
    281
    KERN EXEC 3 panic occuring

    TApaTaskList iTaskList(CCoeEnv::Static()->WsSession());
    TBool iExists;
    TApaTask iApaTask = iTaskList.FindApp(TUid::Uid(0x102072C3));
    iExists = iApaTask.Exists();
    if(iExists)
    {
    CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(
    CCoeEnv::Static()->WsSession(),iApaTask.WgId());
    wgName->SetAppUid(TUid::Uid(0x102072C3));
    wgName->SetHidden( ETrue );
    wgName->SetSystem(ETrue);

    RWindowGroup *iWg;
    TInt handle =CEikonEnv::Static()->WsSession().GetWindowGroupHandle(iApaTask.WgId());
    iWg->Construct(handle);
    iWg->SetOwningWindowGroup(iApaTask.WgId());
    wgName->SetWindowGroupName(*iWg);

    CleanupStack::PopAndDestroy( wgName );
    TBuf<40> display;
    dis.Num(iApaTask.WgId());
    CEikonEnv::InfoWinL(_L("id="),display);
    }

  6. #6
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,744
    You could practice on-device-debugging a little, then you would find an uninitialized pointer. Which actually does not need to be a pointer at all, so removing the * and replacing some '->'-s with '.'-s will probably solve the problem.

  7. #7
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    Also I would not use RWindowGroup as a pointer.

  8. #8
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,744
    I was talking about that one actually.

Similar Threads

  1. Controlling the native music player from an application
    By damsku in forum Symbian Media (Closed)
    Replies: 11
    Last Post: 2010-12-23, 10:31
  2. Hide from task list....
    By Kvet in forum Symbian C++
    Replies: 8
    Last Post: 2009-12-05, 06:13
  3. How Can I Hide other apps from Task list?
    By BDvirus in forum Symbian C++
    Replies: 12
    Last Post: 2009-10-25, 12:34
  4. 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