Hi everyone.
Ive got a problem to connect over httplib/urllib with PyS60 1.9.4 .
First i used PyS60 1.4.5 and everything works with this Code:
for WLan:
for GPRS-Connection:Code:stat=urllib.urlopen("http://micro-entertainment.pcuie.uni-due.de/getStopPoint.php?id="+str(self.foundPointID)) aktstat=int(stat.read()) stat.close()
Now i changed to 1.9.4 and both kinds of connections crash on the phone(Nokia 5800). I have to restart the phone to try again:-)Code:conn = httplib.HTTPConnection(self.proxy) conn.request("POST", "http://micro-entertainment.pcuie.uni-due.de/getStopPoint.php?id="+str(self.foundPointID)) response = conn.getresponse() aktstat= int(response.read()) conn.close()
I dont know what to do? I googled for a few hours but cant find a solution.
Choosing an Access-Point is no Problem with btsocket.
Thanks in advance.

Reply With Quote


