Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 05-17-2010, 06:16 AM
CrackBerry User
Device(s): 9500 (Storm)
Carrier: Vodafone
 
Join Date: Sep 2009
Posts: 44
Likes Received: 0
Thanked 0 Times in 0 Posts
Question java.io.IOException: Bad DNS address - in opening a HttpConnection

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.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   java.io.IOException: Bad DNS address - in opening a HttpConnection

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes