On Tue Oct 5 04:27:05 BST 2010, praveen koduru wrote: > I want to send IM(Instant Message) from GTalk of N900 using PyQt. I have > found sending sms PyQt script here > http://wiki.maemo.org/Phone_control#Send_SMS. and tried to modify for > Instant Messaging. But I am getting "send failed" error. I am new to PyQt. > > I have logged in to gtalk before running the script & then started the > script. > the following is the code I have modified.
Looking at the code you posted, it seems that PyQt is only used to process strings, and that the rest is done using PySide and the PySide Mobility bindings. Two suggestions come to mind: 1. Have you considered using the PyQtMobility package with PyQt? http://www.riverbankcomputing.com/software/pyqtmobility/intro 2. Whatever you're using, you probably need to start the event loop for the SMS to be sent. You should call app.exec_() to do this. David _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
