| Reply | « Previous Thread | Next Thread » |
|
Hi!
I tried to execute the follwing code snippet on a 6120 Classic and on a E90 communicator - the code on 6120 worked fine but seems that the communicater does not get ab answer within STAT so "END" will never be reached... Does somebody know why - is there an alternative for this snippet? Code:
import messaging, e32
def STAT(std): # parameter is the answer from the os
global lock; global i
if std == messaging.ESent: # successfully sending
print("Message has been sent"); lock.signal(); return 1 # unlock app
elif std == messaging.ESendFailed:
print("Unable to send message"); lock.signal(); return 0
lock = e32.Ao_lock()
print "START"
messaging.sms_send("123456789","TEXTMESSAGE",'7bit',STAT)
lock.wait()
print "END"
|
| freaky_911 |
| View Public Profile |
| Find all posts by freaky_911 |
|
There was a simular problem some time ago...
It seems to be a very serious problem/bug with the Nokia e90 communicator.... but its unsolved! I do not know what to do ![]() Can somebody give me suggetions??? Quote:
|
| freaky_911 |
| View Public Profile |
| Find all posts by freaky_911 |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
hi freaky_911
ur code is alright but i cant find out what is the wrong wid the communicator. plz can u give the detail or any link abt what type of bug it was in the e90 communicator. plz give the feedback thanx Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
This is a quite funny problem... my last test was successfully...
I would be happy if the function would always work like that... I do not know how to provoke this error to solve the problem... It is not a classical bug with a error message. There is only a problem with the messaging statment ... the mobile waits for an answer but there is none so the phone gets stuck in the STAT function... |
| freaky_911 |
| View Public Profile |
| Find all posts by freaky_911 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How to send wap push message to SmartPhones | Taroo2 | General Messaging | 4 | 2007-11-09 15:37 |
| Extra number when I send message... | Suited_Up | General Messaging | 0 | 2007-02-01 16:53 |
| How to send a message to *.exe and process the msg? | boyknight | General Symbian C++ | 1 | 2007-01-11 06:33 |
| send message to group | goldenlife | Symbian User Interface | 3 | 2006-05-25 10:27 |
| about wma, app exit when send message | badgunnokia | Mobile Java General | 1 | 2006-02-14 03:37 |