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

2 PCS 2114 4K Static RAM Memory Intersil & SEMI MCM2114 2114 MN2114 D2114 P2114
$5.5
2 PCS 2114 4K Static RAM Memory Intersil & SEMI MCM2114 2114 MN2114 D2114 P2114  picture4 Pcs ISSI IS61C256AH-20N CMOS SRAM memory 32Kx8
$9.75
4 Pcs ISSI IS61C256AH-20N CMOS SRAM memory 32Kx8 pictureVintage 3 Letterpress Wooden Type Block Hindi/Devanagari Yaad (Memory) (Wb58)
$6.0
Vintage 3 Letterpress Wooden Type Block Hindi/Devanagari Yaad (Memory) (Wb58) pictureMicro SD Storage Board Mciro SD TF Card Memory Shield Module OOI For Arduino OO
$0.01
Micro SD Storage Board Mciro SD TF Card Memory Shield Module OOI For Arduino OO picturePanasonic NE-1054F Microwave Oven with 10-Programmable Memory
$336.73
Panasonic NE-1054F Microwave Oven with 10-Programmable Memory picture






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