×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    2

    Exclamation 1.9.x SMS receiving problem with FP1 and FP2

    I am making software for sending and handling sms messages. The program works correctly with 3rd phones but all FP1 and FP2 devices gives SymbianError.

    Code:
    Code:
    import inbox
    import e32
    
    lock = e32.Ao_lock()
    def message_received(msg_id):
    	global signal
    	box = inbox.Inbox()
    	message = box.content(msg_id)
    	print message
    	lock.signal()
    
    box = inbox.Inbox()
    box.bind(message_received)
    print u"Waiting for message.."
    lock.wait()
    Error message:
    File "test.py", line 9, in message_received
    message = box.content(msg_id)
    SymbianError: [Errno -21] KErrAccessDenied

    Does someone know what this means and how I can fix it?

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: 1.9.x SMS receiving problem with FP1 and FP2

    hello

    which PyS60 1.9.x version you are using, i suppose this is a capability issue.

    Regards
    Gaba88

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    2

    Re: 1.9.x SMS receiving problem with FP1 and FP2

    I have tried 1.9.4 and 1.9.6.

    Capability error is conceivable. But if sms api is available without sertification in 3rd, why it is not open in FP1 and FP2?

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: 1.9.x SMS receiving problem with FP1 and FP2

    Quote Originally Posted by Olli-Pekka.Puolitaival View Post
    I have tried 1.9.4 and 1.9.6.

    Capability error is conceivable. But if sms api is available without sertification in 3rd, why it is not open in FP1 and FP2?
    hello olli-pekka

    you are not using the sms API, instead you are using the inbox api and AFAIK you require caps in that. So make sure you are using the script shell signed with all relevant capabilities.

    Regards
    Gaba88

Similar Threads

  1. Replies: 7
    Last Post: 2009-05-12, 08:36
  2. Replies: 4
    Last Post: 2009-04-21, 14:32
  3. On Device Debugging: FP1 application & FP2 OS
    By elviin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-12-10, 02:54
  4. Autofocus S60 3rd ed FP1 to FP2
    By Christophe.A in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2008-09-10, 13:30
  5. Replies: 5
    Last Post: 2008-03-17, 05:09

Posting Permissions

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