×

Discussion Board

Results 1 to 5 of 5

Thread: Device Reboot

  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    90

    Device Reboot

    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

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,738

    Re: Device Reboot

    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.

  3. #3
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    90

    Re: Device Reboot

    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

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Device Reboot

    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 [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  5. #5
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,080

    Re: Device Reboot

    API partening needs to be done i suppose to access those API's:

    http://discussion.forum.nokia.com/fo...nd-fp2-problem

Similar Threads

  1. Device Reboot Using RHttpTransaction
    By ynon_perek in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2010-03-25, 10:00
  2. Device reboot reason
    By raj_rr7 in forum Symbian
    Replies: 0
    Last Post: 2009-07-10, 12:44
  3. Reboot device
    By manugarrote in forum Symbian
    Replies: 10
    Last Post: 2008-07-26, 05:03
  4. How can i reboot device?
    By s_mehdi76 in forum Symbian
    Replies: 10
    Last Post: 2008-07-23, 05:42
  5. Reboot device after installations
    By Svat_ in forum Symbian
    Replies: 1
    Last Post: 2007-03-15, 07:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×