07-12-2010, 04:30 AM
Join Date: Jul 2010
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Facing issue using ConnectionFactory class,although I used sample code from BB site
Please Login to Remove!
I just copy pasted the code from
and changed nothing except (of course) URL <example.com> to <google.com>
and I dont know why i am getting exception
net.rim.device.api.io.ConnectionClosedException: Not connected
on line final int iResponseCode = httpConn.getResponseCode();
this similar exception also occus when I tried to open google.com or any other site (other than blackberry.com) from the sample application, Network Api Demo, provided with Blackberry JDE.
It is reqested to please look into this issue.