×
Namespaces

Variants
Actions

Archived:How to shut down and reboot the phone in m

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

M on Symbian is not maintained and may not run on current Symbian versions. All M articles have been archived.

Article Metadata
Tested with
Devices(s): Nokia N95, Nokia E90
Compatibility
Platform(s): S60 2nd Edition, S60 3rd Edition, S60 5th Edition
Symbian
S60 5th Edition
Platform Security
Capabilities: )
Article
Keywords: system
Created: bogdan.galiceanu (05 May 2009)
Last edited: hamishwillee (09 May 2013)

Contents

Overview

This snippets show how to shut down and reboot the phone in m.

Preconditions

Note: The shutdown and reboot functions of the system module require the Device permission and extended capabilities. For more information about capabilities see Nokia Developer - Capability Descriptions.

Source code

Shut down

use system
 
 
system.shutdown()

Reboot

use system
 
 
system.reboot()

Postconditions

The phone shuts down or reboots (without asking for the PIN code).

This page was last modified on 9 May 2013, at 05:47.
47 page views in the last 30 days.
×