Hi
I am using the auto start App to start my own app at the time of Boot.It is working great in emulator but not working in device.Even it is not throwing any error.I think the .mdl file is not get loaded at the tim eof Boot.
The code to start an app of autostart is like this
#ifdef __WINSCW__
RApaLsSession ls;
User::LeaveIfError(ls.Connect());
CleanupClosePushL(ls);
_LIT(filen, ""); // dummy
TThreadId dummy;
User::LeaveIfError( ls.StartDocument(filen, starter_uid, dummy) );
CleanupStack::PopAndDestroy();
#else
TFileName fnAppPath = _L("C:\\system\\apps\\hello\\HELLO.APP");
RProcess server;
CleanupClosePushL(server);
User::LeaveIfError(server.Create(fnAppPath, _L(""),starter_uid));
server.Resume();
CleanupStack::PopAndDestroy();
#endif
What might be error .I need your help.
thanks

Reply With Quote

