Start PyS60 Tutorials PyS60 Talks Applications Buzz Us Blog


Notification, Menus and Forms. Canvas, Content Handler and Queries. Set application title, tabs and set application body. Application screen size and Application Orientation. Text to speech, Playing and Recording sounds and setting volume. Taking a Photo, Recording Video and Using Viewfinder. Accessing Contacts and Adding - Deleting Contact entries. Using the e32 Module. Drawing, Opening and Editing an Image. Checking the Inbox, Reading SMS, Deleting SMS and Waiting for a SMS. Setting Logs, Retrieving Last missed calls, Retrieving Last SMS. Sending SMS, MMS, Email. Battery and Signal, Free Ram and Free Space, IMEI and firmware, phones, display, etc. Making a call, Hanging up calls, Waiting for a call. Displaying Text and showing an Image on a Window. Avoiding Python to be terminated by Red Key and Hiding the shell. Global Notifications and Queries.








Making a call and Hanging up calls:


#Copyright (c) 2008 Pankaj Nathani

#Making a call

import telephone, appuifw, e32

#Ask the user for the number to call
n=appuifw.query(u"Enter number", "number")

#Wait a while

#Now hang up



Waiting for a call:


#Copyright (c) 2008 Pankaj Nathani

#Waiting for a call

import telephone, e32, appuifw

#Define the exit function
def quit():

def handle_call(state):
    print "There was an incoming call"

def cb(state):

#Wait for a call




       Copyright © All rights reserved.                                                                                                                        Webdesign: Jackson Productions