You Are Here:

Community: Developer Discussion Boards

#1 Old Access to SMS using v1.9.2 - 2009-03-04, 17:57

Join Date: Nov 2006
Posts: 17
keithgardiner
Offline
Registered User
Hi all,

I am trying to intercept a sms using pys60 1.9.2 like this,

Code:
import inbox, appuifw, e32

def message_received(msg_id):
	box = inbox.Inbox()
	appuifw.note(u"New message: %s" % box.content(msg_id))
	app_lock.signal()
	
box = inbox.Inbox()
box.bind(message_received)

print "Waiting for new SMS messages.."
app_lock = e32.Ao_lock()
app_lock.wait()
print "Message handled!
When the message is recieved I get a
Quote:
SymbianError: [Errno -21] KErrAccessDenied
error.

Does anyone know what might be causing this. Is this a problem with 1.9.2??

I have signed bothe the pys60 runtime and scriptshell using Open Signed Online.

Thanks,
Keith.
Reply With Quote

#2 Old Re: Access to SMS using v1.9.2 - 2009-03-05, 21:46

Join Date: Nov 2007
Posts: 319
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Online
Forum Nokia Champion
Hi !

Have you tried the tips described here ?

Marcelo


Marcelo Barros
Nokia E71, N800, N95 and XM 5800
http://www.croozeus.com
http://wordmobi.wordpress.com
http://jedizone.wordpress.com
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Point Connection Problem on N96... Help! asenechalM5T Symbian Networking & Messaging 4 2008-11-17 16:00
Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card? cksong Mobile Java Networking & Messaging & Security 1 2007-07-02 17:13
Phone that allows WAP access for unsigned SMS midlet? travjohn1134 Mobile Java General 5 2006-10-31 03:31
Access SMS dakoz General Symbian C++ 32 2006-08-29 14:53
access SMS dakoz Mobile Java General 1 2006-08-28 13:26

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia