Hi Community
I have problem with some thing and I cant to solve it . Maybe you help me.
When I send a sms from sender emulator to phone emulator I get two returns.
The one from method detect_sent_sms() and the secend from method detect_incoming_sms().
I dont know why do I get return from detect_sent_sms() if I send nothing ?
Is it according with broken API ESent ?
To test I use standard emulator in SDK.
import inbox
import e32
def detect_incoming_sms(sms_id):
global boxin
print("-> detect incoming sms")
def detect_sent_sms(sms_id):
global boxsent
print("0- detect sent sms")
boxin = inbox.Inbox()
boxin.bind(detect_incoming_sms)
boxsent = inbox.Inbox(inbox.ESent)
boxsent.bind(detect_sent_sms)
Emulator phone returns:
0- detect sent sms
-> detect incoming sms
Thank you for help
adamski9000

Reply With Quote





