Discussion Board

Results 1 to 5 of 5

Thread: Device Reboot

  1. #1
    Regular Contributor monika.parvanda's Avatar
    Join Date
    Apr 2009
    Posts
    90
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 monika.parvanda's Avatar
    Join Date
    Apr 2009
    Posts
    90
    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
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    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);

  5. #5
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,840
    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 C++
    Replies: 0
    Last Post: 2009-07-10, 12:44
  3. Reboot device
    By manugarrote in forum Python
    Replies: 10
    Last Post: 2008-07-26, 05:03
  4. How can i reboot device?
    By s_mehdi76 in forum Symbian C++
    Replies: 10
    Last Post: 2008-07-23, 05:42
  5. Reboot device after installations
    By Svat_ in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved