Some Python S60 code snippets...

Get Python S60

How to call?

import telephone
telephone.dial(str(number))

How to hang up?

import telephone
try:
    telephone.hang_up()
except:
    pass

How to give miss call?

import telephone
def my_call_back(param):
    if param[0] == telephone.EStatusConnecting:
        telephone.hang_up()
telephone.call_state(my_call_back)
# my_call_back fuction will be called whenever there is state change
telephone.dial(str(number))

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Very interesting, i like

Very interesting, i like this website.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options