Categories: Python | S60 | Code Examples | How To
This page was last modified 13:22, 19 April 2008.
How to detect SMS in Outbox
From Forum Nokia Wiki
These code snippets are used to detect the SMS in the outbox using the inbox module in Python
The two methods are as below
Method 1
#import inbox and messaging import inbox import messaging #Body of the detecting function def detect(id) global outbox outbox.delete(id) # send msg again outbox=Inbox(inbox.EOutbox) outbox.bind(detect)
Method 2
#import inbox and messaging import inbox import messaging outbox=Inbox(inbox.EOutbox) # send msg code # messages in outbox ? if outbox.sms_messages() is not None: # delete all outbox messages ! for m in outbox.sms_messages(): outbox.delete(m) # send msg again
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PC Suite not detect 6600 with Bluetooth connection | spinacle | Bluetooth Technology | 29 | 2004-03-14 23:24 |
| Why my sms still in the draftbox | xhsoldier | Symbian Networking & Messaging | 7 | 2006-07-31 13:50 |
| Sending SMS 3rd edition | Bill_Murray | Symbian Networking & Messaging | 15 | 2008-06-15 16:08 |
| nokia 30, DTMF-signals | TonyTwist | Nokia M2M | 2 | 2002-12-10 09:09 |
| Phonebook request by SMS but gives error.. | krtrivdi | Python | 11 | 2006-11-20 09:18 |
