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.

 

 

      ADVERTISEMENT

 

 

 

 

Sending SMS:

 

#Copyright (c) 2008 Pankaj Nathani

#Sending SMS

import messaging

#For SMS:
messaging.sms_send("0793xxxxxx", u"Remember to pick up chips")
#Sends the text to the specified phone number

 

 

Sending MMS:

 

#Copyright (c) 2008 Pankaj Nathani

#Sending MMS

import messaging

#For MMS:
messaging.mms_send("0793xxxxxx", u"Here's that cute photo", "C:\\skiing.jpg")
#Sends the text and the optional attachment (in this case a photo) to the specified number

 

 

Sending Email:

 

#Copyright (c) 2008 Pankaj Nathani

#Sending email

import messaging

#For email:
messaging.mms_send("abc@domain.com", u"Some message", "C:\\summer.jpg")
#Sends the text and attachment to the specified email address

 

 

 

 

       Copyright © Croozeus.com All rights reserved.                                                                                                                        Webdesign: Jackson Productions