Over a million developers have joined DZone.

Make A Phone Call

·
py_s60 1.1.3 provide a module to make call

import telephone
telephone.dial('017337330') # so easy

You can hang up by... guess it...telephone.hang_up()
You can combine this with the contacts module to search and dial

import contacts, telephone
name = 'korakot'
cont = contacts.open().find(name)[0]
number = cont.find('mobile_number')[0].value
telephone.dial(number)
Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}