I have a midlet which works fine in both the Sun emulator and the Nokia emulator, as well as assorted phones.
It does not, however, work at all on a 6600 or a 6620. I'm wondering if it's something to do with the Nokia Java VM perhaps?
To answer the typical questions, all of my networking operations happen on a thread. So there should be no issues there (I hope). I'm opening my socket connection like this...
That seems like it should be fine, I think. My read events happen like this...
connection = (SocketConnection)Connector.open("socket://" +this.host + ":"+this.port);
This is where it seems to hang. It doesn't like this at all. And the code never executes. Can anyone tell me what I could be doing wrong here?
byte a = new byte ;