BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-01-2010, 09:19 AM   #1 (permalink)
New Member
 
Join Date: Jul 2010
Model: 9700
PIN: N/A
Carrier: Qwerty
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Http Connection Timed Out

Please Login to Remove!

Hi

I have a problem with the BlackBerry 9700 when i use an Http Connection but the strange is on the 8900 work fine.

Here the code :

Code:
http = (HttpConnection) Connector.open(url);
http.setRequestMethod(HttpConnection.POST); 
http.setRequestProperty("CONTENT-TYPE", "application/x-www-form-urlencoded");
			
outStrm = new DataOutputStream(http.openOutputStream());
			
byte data[] = ("data1=" + data1).getBytes();
outStrm.write(data);

...			

outStrm.close();
			
inStrm = http.openInputStream();      
byte servletData[] = new byte[150];
inStrm.read(servletData);
inStrm.close();
Any ideas?

Thanks
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

20pcs 100V1uF 100V 5x11mm Rubycon YXF Low Impedance Long Life Capacitor
$2.09
20pcs 100V1uF 100V 5x11mm Rubycon YXF Low Impedance Long Life Capacitor pictureC052K220K2X5CA KEMET CAP CER 22PF 200V 10% RADIAL 2000 PIECES
$225.0
C052K220K2X5CA KEMET CAP CER 22PF 200V 10% RADIAL 2000 PIECES pictureElectrolytic Capacitor 2 Sect 200,200uF 150,150VDC Mallory Type FP FP216.4A NOS
$9.99
Electrolytic Capacitor 2 Sect 200,200uF 150,150VDC Mallory Type FP FP216.4A NOS pictureKEMET T356G106M035AS7301 Solid Leaded Tantalum Cap 10UF 35Volt Lot Qty-50
$9.95
KEMET T356G106M035AS7301 Solid Leaded Tantalum Cap 10UF 35Volt Lot Qty-50 picture100uF 25V 6.3X11 +/-20% 105°C 1000 PCS Aluminum Electrolytic Capacitors
$23.99
100uF 25V  6.3X11 +/-20% 105°C 1000 PCS Aluminum Electrolytic Capacitors picture






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