JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!



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


C

keyboard_arrow_up
0
keyboard_arrow_down


First Post Mark as Spam cael
Posts: 1 - Registered: 2010-04-09 17:07:13

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) # <-- 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 =

appuifw.app.title=u"Message Retriever"

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


* hope someone will help me with this...






JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!




MENU
Advertising