BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-17-2010, 06:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2009
Model: Strom
PIN: N/A
Carrier: Vodafone
Posts: 28
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question java.io.IOException: Bad DNS address - in opening a HttpConnection

Please Login to Remove!

Hi,

I m opening a HttpConnection to a URL. Its working in simulator but when i try it in device, it gives "java.io.IOException: Bad DNS address" while opening the HttpConnection. I serached the forums but havent got the solution yet.

That URL is opening in Blackberry device Internet Browser but not getting the HttpConnection (HttpConnection is coming NULL) when i try through my code.
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

Texas Inst 27PC210-15FNL, NEW in Rail, 576-Bit Programmable Read-Only Memory
$7.7
Texas Inst 27PC210-15FNL, NEW in Rail, 576-Bit Programmable Read-Only Memory pictureLot of 2x VisionTek VTK 4GB PC3-10600 DDR3 Ram Memory Sticks ^
$53.44
Lot of 2x VisionTek VTK 4GB PC3-10600 DDR3 Ram Memory Sticks ^ pictureRadioShack Personal Organizer EL-6991C 768kb memory 10-Language New in Package
$19.99
RadioShack Personal Organizer EL-6991C 768kb memory 10-Language New in Package pictureFanuc Memory Card A20B-2900-0620/06A
$29.0
Fanuc Memory Card A20B-2900-0620/06A pictureMemorizer Sop-8 24C16c-Sshm-T 16Kb Memory 10Pcs Surface Mount Eeprom Ic New J
$1.09
Memorizer Sop-8 24C16c-Sshm-T 16Kb Memory 10Pcs Surface Mount Eeprom Ic New J picture






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