It seems like the problem is that the message content is not available at the event time. You must to wait for the message to be abailable (anyone knows why?).
I have solved it waiting some seconds (one second seems to be enought). Any better solution?
Here is the new code:
import e32, inbox, appuifw
message_id = msg_id
mybox = inbox.Inbox()
content = unicode(mybox.content(message_id))
time = mybox.time(message_id)
address = unicode(mybox.address(message_id))
box = inbox.Inbox()
appuifw.app.title = u"Receive SMS"
appuifw.app.exit_key_handler = exit
app_lock = e32.Ao_lock()
print "waiting for sms."
Originally Posted by Rafael T.