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.
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?