Hi there, this is my first post
I'm writing a Python script and have this problem: I'm binding a callback function to the inbox. When a new SMS arrives, the function gets called, gets an instance of the Inbox and get the new message's content. After this, the message is deleted (to avoid sound notification). The problem is that i had to add an e32.ao_sleep() before accessing the new message's content because otherwise Python raised a KerrAccessDenied error. I read in other thread here that was the solution to the problem and indeed it "was", except for the new problem i'm having now.
Here is a simplified version of the script:
I tested it in a Nokia N95-8g and Nokia N97. I'm using Python 2.0.0 and PythonScriptShell 2.0.0 high capas.
import inbox, e32, appuifw
b = inbox.Inbox()
content = b.content(id)
print "New message:", content
box = inbox.Inbox()
l = e32.Ao_lock()
appuifw.app.exit_key_handler = l.signal
Thanks from Uruguay