Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2009

    messaging.sms_send gave an "Already Sending" Error

    S60 3rd with python s60 1.45.
    I'm using messaging.sms_send to send a message, if the phone is happend out of signal(or in offline mode), the callback function showed the sending state stopped at EScheduledForSend, and never go to ESent or ESendFailed or other state. I waited for a while, and using messaging.sms_send again. It gave an "Already Sending" error, I can't send message with messaging.sms_send anymore. The only way to send out message again is to restart my program.

    Is it possible to stop messaging.sms_send when it gave "Alread Sending" error after a certain period of time? So I can using it to send another message again without restarting my program.
    Last edited by forumz; 2009-07-24 at 01:41.

  2. #2
    Regular Contributor
    Join Date
    Feb 2009

    Re: messaging.sms_send gave an "Already Sending" Error

    I found this in Pys60 1.45 documents:
    The optional parameter callback is invoked with the current status of the send operation as param-eter. The possible states are data items in the module messaging. Invoking another send while a previous send request is ongoing will result in RuntimeError being raised.
    If the callback is not given, the sms send function will block until the message in the queue is either deleted or the sending has failed
    Is there a way to delete the message in the queue?

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. playing aduio file when call is rejected.
    By santosh_sangewar in forum Symbian
    Replies: 6
    Last Post: 2009-06-12, 11:35
  3. i cant build helloworld project
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-12-22, 12:38
  4. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40
  5. Replies: 0
    Last Post: 2002-09-24, 13:11

Posting Permissions

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