×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    105

    Question How to auto reboot the phone?

    Hi, all friends!
    I have found that my phone sometime is not charged by the charger when connectting with power, and the battery is going low and empty then the phone will shutdown because of low power. So here I need to reboot the phone and the phone will be charged again by the charger. So, plz help how to reboot the phone? I think I can create a AO to notify the change of the battery and if the battery level become very low I will reboot the phone. Is it possible to use code to reboot the phone? My SDK is V 1.2.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Re: How to auto reboot the phone?

    Quote Originally Posted by suiying0792 View Post
    My SDK is V 1.2.
    Would you please elaborate more about SDK? Which is the SDK?
    Nokia Developer Wiki Moderation team

  3. #3
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: How to auto reboot the phone?

    yes you can reboot your phone at auto start..
    read the below article which explains how to reboot at auto start ...

    reboot

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    105

    Question Re: How to auto reboot the phone?

    Quote Originally Posted by kiran10182 View Post
    Would you please elaborate more about SDK? Which is the SDK?
    Sorry, it is Symbian C++ SDK 6.1

  5. #5
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    105

    Re: How to auto reboot the phone?

    Quote Originally Posted by rahulvala View Post
    yes you can reboot your phone at auto start..
    read the below article which explains how to reboot at auto start ...

    reboot
    Thank u rahulvala, but sorry about it, I don't want to auto start my application at reboot, I want to reboot my device when the battery is almost empty. Here I need to a solution to reboot the phone when I need to, could you help me about it?

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Re: How to auto reboot the phone?

    Quote Originally Posted by rahulvala View Post
    yes you can reboot your phone at auto start..
    read the below article which explains how to reboot at auto start ...

    reboot
    Read the original question carefully. That article won't help in rebooting the phone. It explains how to autostart your application on reboot time.
    Nokia Developer Wiki Moderation team

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Re: How to auto reboot the phone?

    Quote Originally Posted by suiying0792 View Post
    Sorry, it is Symbian C++ SDK 6.1
    Search for restart or reboot on Discussion board and see if you find anything useful.

    See this thread also: http://discussion.forum.nokia.com/fo...d.php?t=118414
    Nokia Developer Wiki Moderation team

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Re: How to auto reboot the phone?

    Nokia Developer Wiki Moderation team

  9. #9
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    105

    Re: How to auto reboot the phone?

    Quote Originally Posted by kiran10182 View Post
    Thanks for your help, kiran10182. I will try.

  10. #10
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    105

    Wink Re: How to auto reboot the phone?

    Quote Originally Posted by kiran10182 View Post
    Thank u very much, kiran10182, and ur very kind. Now I have realize to reboot my phone by "UserSvr::ResetMachine(EStartupWarmReset) " and "RDbug::Fault(0)"; But here is a question about UserSvr::ResetMachine(TMachineStartupType), I have got the enum from e32Svr.h:
    Code:
    enum TMachineStartupType
    	{
    	EStartupCold,EStartupColdReset,EStartupNewOs,
    	EStartupPowerFail,EStartupWarmReset,EStartupKernelFault,
    	EStartupSafeReset
    	};
    I don't know what is the exactly different of all the types, could u help me about it?

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Re: How to auto reboot the phone?

    Quote Originally Posted by suiying0792 View Post
    I don't know what is the exactly different of all the types, could u help me about it?
    I haven't used them. So you should use them and chose whichever works for you.
    Nokia Developer Wiki Moderation team

  12. #12
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    105

    Re: How to auto reboot the phone?

    Quote Originally Posted by kiran10182 View Post
    I haven't used them. So you should use them and chose whichever works for you.
    OK, I will try them and figure out the different.

Similar Threads

  1. How to reboot your phone with ETel?
    By tote_b5 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-11-13, 10:40
  2. Replies: 1
    Last Post: 2007-12-19, 04:41
  3. Strange Phone Reboot Problem: Recognizer???
    By arizkohli in forum Symbian
    Replies: 2
    Last Post: 2004-09-06, 08:55
  4. What could cause a phone reboot?
    By bjorn.rudolfsson in forum Symbian
    Replies: 9
    Last Post: 2004-02-10, 11:04

Posting Permissions

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