I've a code that working on 8310 Curve but not working on bold 9000.
The problem: Midlet is not able to launch web page after opening connection (and closing) using platform request.
http = (HttpConnection) Connector.open(formatUrl(url), Connector.READ_WRITE);
System.out.println("---> Open connection 2");
//Initiate an Http Post request..
I tried lowercase url and closed connection every time I could. I tried system.gc() (garbage collector) and used synchronized functions.
Also used exceptions.
The problem is that 90% of the time, native browser opens up on loading screen and is unable to reach page. This happens even I change the url to some working url, the problem still occurs, so the problem is not the url.
If I launch platform request first (before opening connection) everything works fine.
Either way, the code works on 8310 and not on 9000.
I can, I'm not saying that I'm, but I can jump out of the window right now.