Hello all,
I am having a problem using HttpConnection.close() in my MIDlet. This happens on certain devices only like N5310, it is working fine on other devices.
here is my code:
try{
HttpConnection http = (HttpConnection) Connector.open(URL);
http.setRequestMethod(HttpConnection.GET);
....//some other processes here.
}catch (Exception e){
}finally{
if(http != null)
http.close()
}
When I try to run this, the letter [G] symbol that denotes an open connection on my device is not disappearing (in 5310 ONLY).
Anybody here knows how to close the GPRS or any connections in j2me aside from this close() method?
Thank you!