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

LUTRON EC3T536GU110 Dimming Ballast T5 36 Watt twin tube 120 220 240 277 volts
$43.0
LUTRON EC3T536GU110 Dimming Ballast T5 36 Watt twin tube 120 220 240 277 volts pictureExitronix XEB-14-LM Battery Backup Ballast (1)
$44.99
Exitronix XEB-14-LM Battery Backup Ballast (1) pictureUniversal M250MLTAC3M -500K 250W HID - MH Metal Halide Ballast Replacement Kit
$44.99
Universal M250MLTAC3M  -500K 250W HID - MH Metal Halide Ballast Replacement Kit pictureBALLAST NEW IOTA I-880 TBTS SERIES D FLUORESCENT EMERGENCY BALLAST (E)
$69.0
BALLAST NEW IOTA I-880 TBTS SERIES D FLUORESCENT EMERGENCY BALLAST (E) pictureKeystone Ballasts 12 Volt Halogen Transformer Ballast model number KTET-60-1-WC-
$23.36
Keystone Ballasts 12 Volt Halogen Transformer Ballast model number KTET-60-1-WC- picture






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