This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connectivity issue on i680

 
Swastik Dey
Rancher
Posts: 1625
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following code to make a http connection

HttpConnection con=(HttpConnection)Connector.open("http://mywebsite.com");

The above code works fine on all the device(as much as I have tested), however it's failing on iDEN i680 with the following exception

javax.microedition.io.ConnectionNotFoundException domain name is not valid(dns server failed to resolve domain name). However instead of dns address if I use IP address it's working fine. My question is if there is any issue with dns resolution, then how come it's working on the other devices? Do I need any explicit settings on i680?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic