I managed to run the app with autostart ,
now I try to put it in the background , with no success.
the Timer lines are in comment like Eduard wrote them in his code , but this still didnt help , the app starts in the foreground .
I tried also to add one line to the code (as you can see below) ,
but still , no success .
any ideas ?
Code:
void CMyRecognizer::StartAppThreadFunctionL()
{
.
.
.
CApaCommandLine* cmdLine = CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL( findFile.File() );
cmdLine->SetCommandL( EApaCommandOpen );
cmdLine->SetCommandL( EApaCommandBackground );
.
.
.
}