05-17-2010 04:16 AM - edited 05-17-2010 04:22 AM
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.
05-21-2010 05:53 AM - edited 05-21-2010 06:03 AM
Have u got the solution for it?
I tried by entering the IP address instead of url (for eg. instead of www.google.com I had entered IP address) & its working for it without making any change in code.
I made one more change. in Options->Security Options->TLS-> Allow HTPS Redirections : Yes
05-21-2010 06:07 AM
On which device u r facing this issue & which connection mode u r using ?.................Which carrier this issue is coming..........?.................Are you able to open the url other than device BIS browser ?..............Please refer to this post
05-21-2010 08:38 AM
Thx. I ll refer to this url. I m using Blackberry Curve 8520, Pearl 8800 & carrier is Vodafone. i m opening the connection using POST method
& other than device BIS browser means? I accessed using device Internet browser only.