BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-12-2010, 04:30 AM   #1 (permalink)
New Member
 
Join Date: Jul 2010
Model: 7100T
PIN: N/A
Carrier: Mobilink
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Facing issue using ConnectionFactory class,although I used sample code from BB site

Please Login to Remove!

I just copy pasted the code from

docs.blackberry.com/en/developers/deliverables/11938/CS_create_first_available_HTTP_connection_857706_1 1.jsp

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.
Offline  
Old 07-16-2010, 01:52 AM   #2 (permalink)
New Member
 
Join Date: Jul 2010
Model: 7100T
PIN: N/A
Carrier: Mobilink
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Please reply

come on fellows, anyone who also facing this issue? at least reply that you agree with me, this issue exists.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.