running application in background

Login to reply to this topic.
Thu, 2006-06-15 09:11
Joined: 2006-04-17
Forum posts: 36
Hi!

I am working on Series60 2nd edition FP2. I have one application and I want to run it as a background process. How should I proceed.

Moreover is it possible to load an application on series 60 such that it is neither registered in Application Manager nor a logo appears on menu.

Please reply


Thanks & regards

Rishabh


Thu, 2006-06-15 12:03
Joined: 2006-06-09
Forum posts: 51
Re: running application in background

Good judgement comes from experience, and experience comes from bad judgement.
Experience is a wonderful thing. It enables you to recognize a mistake when you make it again.

Fri, 2006-06-16 21:41
Joined: 2006-02-02
Forum posts: 15
Re: running application in background
Use following Code for running application in background...........

Code:

TApaTaskList taskList(CCoeEnv::Static()->WsSession());

TApaTask task = taskList.FindByPos(0);

CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(CCoeEnv::Static()->WsSession(), task.WgId());

if (wgName->AppUid().iUid == 0x0189C6E1) //USE YOUR  APPLICATION  UID INSTEAD OF 0xx189C6E1
{
    task.SendToBackground();
}

CleanupStack::PopAndDestroy(wgName);


This code is working.........
Sun, 2006-06-18 07:53
Joined: 2005-02-12
Forum posts: 98
Re: running application in background
It is very easy that your application will not be shown on menu.Just change your apllication name for exampole helloworld.app to helloworld,App  i.e use comma instead of dot.

Advise: just download guardian application from net and using FExplorer see how it does same functionality as you have asked.
Mon, 2008-02-04 21:46
Joined: 2007-06-16
Forum posts: 12
Re: running application in background
  • Login to reply to this topic.