(Redirected from How to switch profiles)

Archived:How to switch profiles using PySymbian

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Tested with
Devices(s): N95 8gb
Platform(s): S60 3rd Edition
Keywords: xprofile
Created: croozeus (18 Nov 2007)
Last edited: hamishwillee (31 May 2013)



Switching profiles have been possible in Nokia Symbian 3rd edition devices. We can switch various profiles in python for Symbian using the xprofile module of Cyke64.


  • The extension works only in Symbian 3rd edition devices with python 1.4.x releases.
  • However till date there are no public libraries for switching profiles in the Symbian 2nd edition devices.

Code Snippet

The following is a code for swapping profiles and contains the basic functions of xprofile

import xprofile
# get profile (for api completion !)
print xprofile.get_ap()
# set active profile to "General Profile"
# set active profile to "Silent Profile"
# set active profile to "Meeting"
# set active profile to "Offline"
# set active profile to your first "user profile"

Related links

--croozeus 09:26, 18 November 2007 (EET)

This page was last modified on 31 May 2013, at 04:09.
68 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.