Hi all, sorry for reposting (it's the last time I'll do that, but I completely failed to find a solution for my problem)...

I have a recognizer starting my background application the classic way, but on 6600, and ONLY if the phone is plugged on alimentation when switched on, my background application is not started... And I completely failed to find why!

The recognizer thread is waiting for the "Phone" application to be launched before launching my application - this works well on 3650 and on N-Gage (as well as on P800), but not on 6600.
The launching code is executed, but the application is not launched.

What could I do???

Classic launching code:

{
LOG("start");

// Absolute file path to our application
TFileName fnAppPath = _L("\\system\\apps\\myapp\\mybgapp.app");

// File server session
RFs fsSession;
User::LeaveIfError(fsSession.Connect());
CleanupClosePushL(fsSession);
TFindFile findFile(fsSession);

User::LeaveIfError(findFile.FindByDir(fnAppPath, KNullDesC));

CApaCommandLine* cmdLine = CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL(findFile.File());
cmdLine->SetCommandL(EApaCommandRun);

RApaLsSession ls;
User::LeaveIfError(ls.Connect());
CleanupClosePushL(ls);

User::LeaveIfError(ls.StartApp(*cmdLine));

// Destroy fsSession, ls and cmdLine
CleanupStack::PopAndDestroy(3);

LOG("end");
}

The whole code is executed ("start" and "end" are logged), but no application has been launched. Its NewApplication is not even fired...

Are some of you having the same behaviour?

Thanks for your attention,
Daniel.