You can still reboot a 3rd ed. phone the same way you do it on 2nd ed: SysStartup::ShutdownAndRestart(). See http://mikie.iki.fi/lxr/source/starter/src/main.cpp for the header/code, and link against SYSUTIL.LIB.
It's a graceful reboot, so it's safe. You'll need the PowerMgmt capability (available with a devcert).
You can still reboot a 3rd ed. phone the same way you do it on 2nd ed: SysStartup::ShutdownAndRestart(). See http://mikie.iki.fi/lxr/source/starter/src/main.cpp for the header/code, and link against SYSUTIL.LIB.
It's a graceful reboot, so it's safe. You'll need the PowerMgmt capability (available with a devcert).
I have a question regarding UID when using : SysStartup::ShutdownAndRestart(const class TUid& aSource, TSWStartupReason aReason);
Forum posts: 2135
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 30
It's a graceful reboot, so it's safe. You'll need the PowerMgmt capability (available with a devcert).
Forum posts: 4
Forum posts: 39
It's a graceful reboot, so it's safe. You'll need the PowerMgmt capability (available with a devcert).
I have a question regarding UID when using :
SysStartup::ShutdownAndRestart(const class TUid& aSource, TSWStartupReason aReason);
Which UID i should use?
Thanks