I am testing backup and restore. I followed steps from link http://wiki.forum.nokia.com/index.ph...B_applications and link http://wiki.forum.nokia.com/index.ph...up_and_restore
Steps I did,
1) Installed application GUI and EXE. Run it
2) Took a complete backup
3) Uninstalled Application both GUI and EXE.
4) Restored from backup
5) Application restored and I can run GUI app perfectly fine
>>>>6) My GUI app actually starts EXE on a menu command and I am not able to start EXE.<<<
I checked memory card in data mode and my EXE is restored in sys/bin however when I try to start app. I get an error -1 (not found) with RApaLsSession:StartApp
This code works fine without backup-restore.
cmdLine->SetCommandL( EApaCommandRun );
TInt err = ls.StartApp(*cmdLine,app_threadid);
CleanupStack::PopAndDestroy(); // cmdLine
CEikonEnv::InfoWinL(_L("Error in start App: "),buf);
I am not able to understand why I get KErrNotFound when application is present in sys/bin of memory card? and Executable file for GUI app is also in same folder but that works fine.
Few More Details:
I install both GUI and EXE via single package/sis file but since these 2 apps have difference uid so I have 2 backup_registration.xml each kept in their private folder