It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Python Forum

copy sms msg to a string: hope someone will help me

copy sms msg to a string: hope someone will help me

Postby cael on Fri Apr 09, 2010 10:08 pm

i have a problem... i am new to python... and i have found a program that reads an sms directly from the phone's inbox... i am using nokia 6600... i just want to ask how will i be able to copy the sms file to a string? here is the code i saw in the net:

import appuifw,e32
import inbox
flag=0

def exit_key_handler():
app_lock.signal()

def read():
appuifw.app.title=u"Encoded Message"
box=inbox.Inbox()
id=box.sms_messages()
msg=box.content(id[0]) # <-- how will i be able to copy this sms file to a string

round.set(msg)



app_lock = e32.Ao_lock()
round = appuifw.Text()
decodedmsg=[]
appuifw.app.body = round

appuifw.app.menu = [(u"Read message", read)]

appuifw.app.title=u"Message Retriever"

appuifw.app.exit_key_handler = exit_key_handler
app_lock.wait()


* hope someone will help me with this...
cael
 
Posts: 1
Joined: Fri Apr 09, 2010 10:07 pm

Who is online

Users browsing this forum: No registered users and 0 guests