i developed an application that access the web through the mobile application using j2me for nokia cellphones but when i tried to run this application on blackberry devices i got a problem with it, no website want to be opened, it just freezes so can anyone help me pls cos i could not find any solution for it these r the lines of code that i'm using in the application
this line i'm using to read something from web
hc = (HttpConnection) Connector.open(url); dis = hc.openDataInputStream();
int dataleft = dis.available();
for (int j = 0; j < dataleft; j++) {
buffer.append((char) dis.read());
}
dis.close();
hc.close();
and this line to open a website
this.platformRequest("http://stackoverflow.com/questions");