Hiding an Application from the Task List

Login to reply to this topic.
Wed, 2005-10-05 04:25
Joined: 2005-08-01
Forum posts: 44
Hi all,

I'm reading "forum nokia technical solution v1.7", in section 4.23 there's an article about "How can I hide an application from the task list?" which has the following code :

TInt wgId = iEikonEnv->RootWin().Identifier();
RWsSession session = iEikonEnv->WsSession();
CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(session, wgId);
wgName->SetHidden(ETrue);
wgName->SetWindowGroupName(iEikonEnv->RootWin());
CleanupStack::PopAndDestroy(); // wgName

What is Task List exactly? and how can I found it?


..I've tried the above code, I place it in AppUi, but it has no effect at all, I have a TASK SPY application, I can still kill the application

Does anyone know why? If someone already tried the above code and succeed, please share it with us.

Thank you

Irma

Thu, 2005-10-06 10:27
Joined: 2005-03-14
Forum posts: 91
Re: Hiding an Application from the Task List
All this code will do is hide the application from the GUI Application task list - i.e. the list of running applications you get by holding down the "applications/menu" key on a Serieis 60 phone.
It will NOT hide the Process form something like a Spy app which is looking for running processes.

What are you trying to achieve?

---
Kevin Dixon
Symsource Ltd.
www.symsource.com

Fri, 2005-10-07 02:39
Joined: 2005-08-01
Forum posts: 44
Re: Hiding an Application from the Task List
Well...I'm trying to build an application without noticem from the owner...and this app must always run may not be killed (but don't worry...it's not a virus). this is for the purpose of my company....and I may not spread it, so I hope you'll understand

Well....if that so, do you know how to hide app so the user can't see it no matter what? not even from the fexplorer?

I've tried to change the properties to hidden is true...but i can still see it from fexplorer (evdnthough it is hidden already)

thx in advance
Fri, 2005-10-07 08:55
Joined: 2005-03-14
Forum posts: 91
Re: Hiding an Application from the Task List
It is easy to hide an app from the 'normal' user with access to the built-in apps (AIF switches and the code above). Hiding app files from power users with access to Spy/FExplorer is a lot bigger deal and on the edge of impossible (but *will* be possible with Symbian OS 9.x). Without understanding why you are trying to achieve this it's difficult to suggest any alternatives.

---
Kevin Dixon
Symsource Ltd.
www.symsource.com

  • Login to reply to this topic.