Start On Boot API
| Tue, 2006-01-31 09:26 | |
|
Hi all,
I'm currently developing an application that must be able to restart the phone and launch an executable on boot. I've been trying the Start On Boot API of Symbian but I can't get it to work properly. This is my code: Code: iStartOnBoot.CreateL(); //StartOnBoot Modification TRAPD(error,iStartOnBoot.AddServiceL(KAppBoot)); if (error!=KErrNone) { User::Panic(_L("Asco?"),error); } iStartOnBoot.Close(); UserSvr::ResetMachine(EStartupWarmReset); My application restarts the phone but it doesn't launch the executable on boot and I don't get any error/panic/whatever. Anyone can help me?? Thanks, Lucas |
|






Forum posts: 12