Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connectivity issue on i680

 
Swastik Dey
Rancher
Posts: 1603
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