(Redirected from How to detect SMS in Outbox)

Archived:How to detect SMS in outbox in PySymbian

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

These code snippets are used to detect the SMS in the outbox using the inbox module in PySymbian.

Article Metadata
Created: User:Kandyfloss (19 Apr 2008)
Last edited: hamishwillee (31 May 2013)

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
# send msg again

Method 2

#import inbox and messaging
import inbox
import messaging
# send msg code
# messages in outbox ?
if outbox.sms_messages() is not None:
# delete all outbox messages !
for m in outbox.sms_messages():
# send msg again
This page was last modified on 31 May 2013, at 04:08.
47 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.