I have implemented some applications in J2ME on the Palm VIIx and Hand Spring Visor devices. I noticed that in J2ME application, the wireless connection speed is significatly slower than other non-J2ME applications on the devices(for example, the ABC News, Amazon application shipped with the device). For 600 charaters, the Palm VIIx device can take up to 1 min. to finish the download, while other application on the same device only takes a few seconds to finish the download. Does anybody experieced the same problem? Do we have any solution to it? Thanks! Liang
If you're reading one character at a time with InputStream.read(), you should change to reading 256 characters or so at a time with InputStream.read(byte,int,int). Reading one character at a time is slow. [ August 04, 2002: Message edited by: Liam Quinn ]
Joined: Nov 05, 2001
Actually I was already reading data into a 2000 bytes array, otherwise it will take forever. So my question is: even with reading data into a long bytes array, the connection speed is still significately(and painfully) slow.