×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Philippines
    Posts
    208

    how to make app not appear on the task list

    hello

    TApaTask tApatsk(iEikonEnv->WsSession()); tApatsk.SetWgId(iEikonEnv->RootWin().Identifier()); tApatsk.SendToBackground();

    this sends my app to the background, but it's icon is on the task list, how not to?

    thanks

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    157

    DUDE

    You only have to post once.

    Actually if you post again and again like you did, before I deleted some of you posts, it appears to our moderators that there is already a response. SO... it is less likely that they will open your thread and try to help.

    I did forward this to a few people I know to see if they can help you out.

    Cheers

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Philippines
    Posts
    208
    i am sorry, but most of my threads here that are deep down the forum are not being answered and worse, completely ignored so i have to bump it up sometimes,

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Philippines
    Posts
    208
    hello, i have to bump this up because it's already been a week. this thread is quite a few pages down already,

    i hope i am not breaking any rules here, thanks

  5. #5
    Registered User
    Join Date
    Mar 2003
    Location
    Dhaka Bangladesh
    Posts
    26
    Hi,

    Is there any way to hide my application from task list? I need the solusion very much and as soon as possible.

    Regards,

    EH

  6. #6
    Regular Contributor
    Join Date
    Sep 2003
    Location
    Bangalore,India.
    Posts
    63

    what is the gain in hiding?

    Hi All,

    What does a user gain by hiding an application?

    It leads to complex questions like how to make an appl visible once it disappears from task list?

    What happens if the user activates the same appl again from list of applications- will the hidden appl come forward or a new appl will start?

    If the answers to these questions are clear, anybody can go ahead in thinking about hiding an application.


    Regards,
    Sreenivasulu Y

  7. #7
    Regular Contributor
    Join Date
    Mar 2003
    Location
    UK
    Posts
    55

    nakka

    There are numerous reasons why you would want to hide your application…


    discuss...

  8. #8
    Regular Contributor
    Join Date
    Mar 2003
    Location
    UK
    Posts
    55

    anyhooo

    Try:

    TInt wgId = iEikonEnv->RootWin().Identifier();

    RWsSession session = iEikonEnv->WsSession();

    CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(session, wgId);

    wgName->SetHidden(ETrue);

    wgName->SetWindowGroupName(iEikonEnv->RootWin());

    CleanupStack::PopAndDestroy();

    I got this from some other post, however I cant get it to work!!!

  9. #9
    Regular Contributor
    Join Date
    Sep 2003
    Location
    Bangalore,India.
    Posts
    63

    Why hide an application?

    Hi TheCyclos,

    Everybody would be happy to know "numerous reasons why you would want to hide your application" as you said.

    Also why paste a code which is not working? It just adds to confusion.

    Regards,
    Sreenivasulu Y

  10. #10
    Regular Contributor
    Join Date
    Mar 2003
    Location
    UK
    Posts
    55

    Ok

    The reason I posted the code is simple; maybe someone else can get the code to work. The code is after all from Symbian knowledge base.

    Here is one scenario that we already use:

    We have an SMS application that both sends and receives messages. The receiver needs to be working in the background all the time (A recogniser is used to achieve this) The receiver also has a UI associated to it so this effectively rules out the use of a server, we use a DLL to achieve the UI element.

    So… The recogniser runs in the background all the time, when a message is received this then ‘wakes’ the receivers UI. Unfortunately the UI icon will be in the application icons list. We (have) needed to remove this icon to stop the user from inadvertently stopping the application.

    The above two items are only part of the overall system. The user does however have to ability to stop the receiver from the main app (controller). As long as this is well documented to the user then I think this is an acceptable way to do things. If you take a closer look you will see that Symbian also does this in places.

    There are of course other reasons as to why you would (And indeed would not) want to do this but I wont bore you with the details.

    Cheers

  11. #11
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167
    Hi

    Basically it's important to get some apps hidden, anyway, try to remmebr to allow users a option to disable you app without un-installing it, sometimes they might wanna do that.

    Anyway, you answer can be found from CEikDocument -class functions.

    yucca

  12. #12
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Philippines
    Posts
    208
    hi,

    like symbianyucca said, to hide your app from the task list, override the function from the document class:

    void CAppDocument::UpdateTaskNameL(CApaWindowGroupName* aWgName)
    {
    CAknDocument::UpdateTaskNameL(aWgName);
    aWgName->SetHidden(ETrue);
    }

    cheers,

Posting Permissions

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