×

Discussion Board

Results 1 to 3 of 3

Thread: Profiles

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    12

    Profiles

    I have been playing around with python from last week.

    Is there anyway by which we could change the profile of the mobile? I did not read anything in the documentation.

    Also I need to personalize a profile using python, is it possible?

  2. #2
    Wiki Moderators
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,779

    Re: Profiles

    Quote Originally Posted by reallife47 View Post
    I have been playing around with python from last week.

    Is there anyway by which we could change the profile of the mobile? I did not read anything in the documentation.

    Also I need to personalize a profile using python, is it possible?
    Yes, you could change the active profile using the xprofile module of Cyke64.

    Python does not come integrated with xprofile yet, but hopefully soon, so you may have not found anything in the documentation.

    Search the Forum for "xprofile"

    Here is a short code that may help you

    Code:
    import xprofile
    
    # get profile (for api completion !)
    print xprofile.get_ap()
    
    # set active profile to "General Profile" 
    xprofile.set_ap(0)
    
    # set active profile to "Silent Profile" 
    xprofile.set_ap(1)
    
    # set active profile to "Meeting" 
    xprofile.set_ap(2)
    
    
    # set active profile to "Offline" 
    xprofile.set_ap(5)
    
    
    # set active profile to your first "user profile"
    xprofile.set_ap(30)
    Other thing you have asked for is personalising the profile settings,
    Unfortunately that is not yet possible with present PyS60 and exisiting extensions. You may have to work on a native extension for that if you have good C++ Skills.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Re: Profiles

    Not sure if I'm posting this in the correct place.
    I have a N97mini and want to know if it is possible to set the phone with two profiles e.g. General during the day and then automatically switching to silent for certain hours during the night.
    Is this possible?

Similar Threads

  1. Access phone profiles from java
    By calgyria in forum Bluetooth Technology
    Replies: 3
    Last Post: 2007-09-27, 14:01
  2. Important feature request: profiles extending, etc.
    By bednar007 in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2006-06-10, 22:45
  3. Problem creating profiles in D211
    By molausso in forum Multimodecards
    Replies: 1
    Last Post: 2002-09-16, 11:14
  4. Nokia D211 with different WLAN Profiles
    By larsfrohberg in forum Multimodecards
    Replies: 1
    Last Post: 2002-07-16, 05:20

Posting Permissions

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