J2ME, J2ME till I'm senseless...
These days I’ve been fighting J2ME.
While eclipse and eclipse2me provide an excellent development framework, and well, platform limitations are platform limitations (I’ve programmed on Linux NOMMU before, so I know a bit about that, too), Java is by far not what it promises. You bet that .NIET isn’t better either.
The latest bug I found affects Nokia 3650. While the application was working fine on Nokia 7610, it claimed “memory full” on the 3650.
A bit of investigation finally revealed the culprit to be
hc.setRequestProperty("Accept", "application/mreplay");
yep. setting the information that I expect to retriev my own proprietary data format broke the file transfer - returning bogus data. All the other setRequestProperty calls I did were fine, but the “accept”… Removing that line helped…
Anyone an idea why?