×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Lightbulb [announce] Active profile details module

    hello everybody ,

    Here's a new module for getting more details on Active profile.
    Thanks to Artem Marshenko to Active profile C++ code



    PS :
    Only for 3rd sorry for 2nd !

    link :

    activeprofile 1.0 source code
    activeprofile 1.0 unsigned sisx for 3rd
    activeprofile 1.0 selfsigned sisx for 3rd
    Last edited by cyke64; 2006-12-14 at 20:15.
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [announce] Active profile details module

    Hello ,

    Yesterday I quickly post my code and I had no time to provide an example of code

    Example :


    Code:
    ERingingtypeRinging = 0 
    ERingingtypeAscending = 1
    ERingingtypeRingonce = 2
    ERingingtypeBeeponce = 3 
    ERingingtypeSilent = 4
    EWarningtonesOn = 1
    EWarningtonesOff = 0
    
    EMessagealertOn = 1
    EMessagealertOff = 0
    
    from activeprofile import *
    # is the same function as sysinfo.active_profile() for completeness with PyS60 1.3.15 !
    
    
    print "active profile = %"%AP() 
    print "message alert = %"%message_alert()
    print "keypad vol = %d"%keypad_volume()
    print "Warning tones = %d"%warning_tones()
    print "ringing type = %d"%ringing_volume()
    print "ringing type = %d"%ring_type()
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

Similar Threads

  1. Replies: 2
    Last Post: 2007-10-05, 20:40
  2. [announce] Call status and key press module
    By agrauballe in forum Symbian
    Replies: 21
    Last Post: 2007-09-19, 01:45
  3. Carbide.j 1.5 and Netbeans 5.5 beta 2
    By ovjo12 in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2007-06-11, 05:43
  4. How to access an active profile?
    By Steve_Johnson in forum Symbian
    Replies: 2
    Last Post: 2005-09-16, 10:37
  5. set ring tone in active profile
    By Stefan.Gerwien in forum Symbian
    Replies: 0
    Last Post: 2004-06-01, 12:02

Posting Permissions

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