Hi
I am trying to reboot the 3rd edition and fifth edition devices.
Please help, how can I do the same!!!
Thanks and Regards
Monika Parvanda
Hi
I am trying to reboot the 3rd edition and fifth edition devices.
Please help, how can I do the same!!!
Thanks and Regards
Monika Parvanda
Search. reboot or restart could be good search keys. Either it is possible or not, it has been already discussed several occasions. If it is possible, it may also appear in the Wiki.
Thanks for the reply.
I have searched on the forum.
Some have sugessted to use
UserSvr::ResetMachine(EStartupWarmReset);
RDebug::Fault(0);
But it dosent seem to work. Moreover RDebug::Fault(0); results in errors.
Some of them suggest to use,
ShutdownAndRestart( const class TUid& aSource, TSWStartupReason aReason);
But I dont know how to use the same.
Please help!!!!!!
Regards
Monika Parvanda
This code I used long time back hope work for you also.
enum TSWStartupReason
{
// Normal startup reasons (100..149)
// Nothing set the (default value).
ESWNone = 100,
// Restore Factory Settings (Normal)
ESWRestoreFactorySet = 101,
// Language Switched
ESWLangSwitch = 102,
// Warranty transfer
ESWWarrantyTransfer = 103,
// Possibly needed for handling power off & charger connected use case.
ESWChargerConnected = 104,
// Restore Factory Settings (Deep)
ESWRestoreFactorySetDeep = 105
};
class SysStartup
{
public:
IMPORT_C static TInt ShutdownAndRestart(const class TUid& aSource, TSWStartupReason aReason);
};
SysStartup::ShutdownAndRestart( TUid(0x), ESWNone);
Use Qt-Quick to make your application UI more attractive.
http://store.ovi.com/content/271896 | http://store.ovi.com/content/276199 | http://store.ovi.com/content/276202 | http://store.ovi.com/content/280827
API partening needs to be done i suppose to access those API's:
http://discussion.forum.nokia.com/fo...nd-fp2-problem