Categories: Python | S60 | Code Examples | How To
This page was last modified 03:25, 20 April 2008.
How to Reboot the phone
From Forum Nokia Wiki
Here is a code snippet which is used to reboot the phone using Python
#import modules import appuifw import e32 #define reboot function body def reboot(): #Reboots the phone by calling Starter.exe""" #Ask if the user wants to reboot or no if appuifw.query(u"Reboot device?", 'query'): #Reboots the device e32.start_exe(u'Z:\\System\\Programs\\Starter.exe', '', 0) #calling the reboot function to restart the device. reboot()
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to swotchoff mobile in 3rd Sdk | aamitgupta | General Symbian C++ | 18 | 2008-07-01 15:18 |
| Photos from 7250 to PC?? | alexgemmell | General Discussion | 32 | 2003-07-04 19:18 |
| HOWTO for creating/adding an application's icon | patrickfrei | General Symbian C++ | 18 | 2007-07-04 10:03 |
| Installing midlets on Nokia 6230 | mopfattn | Mobile Java General | 5 | 2006-08-25 13:43 |
| Displaying an error if Document or AppUI ConstructL fails | mikaraento | Symbian User Interface | 1 | 2006-12-15 08:02 |
