Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
10-07-2008 04:28 AM
I try to establish WiFi connection on a BlackBerry Bold (OS 188.8.131.52) but it does not work.
HttpConnection connection = (HttpConnection) Connector.open(url + ";interface=wifi", Connector.READ);
This code throws an IOException.
I try ";deviceside=true;interface=wifi", but it throws the same exception.
There's no SIM in the device and I can reach the url with the browser.
On a 8120, It works the first times but after a momentit throws a DNSException. When it happens, it's impossible to reach the url with the browser.
Have you got any idea ?
Thanks a lot.
10-08-2008 07:20 AM
I have just successfully used a Bold with no SIM to connect using WiFi.
The application is compiled using JDE 4.1, the http connection code looks like:
c = (HttpConnection)Connector.open(_connectionURL);
I note according to the Javadoc, that IOException will be thrown by this if you there is a Firewall problem. I suggest you reset your Firewall and try again.
Options--> Security-->Firewall, then use the menu to "Reset Settings".
Hope this helps.
11-26-2008 05:48 AM
I have a new Wi-FI connection problem.
I try to connect using that url : http://www.google.com;interface=wifi
I get that error : java.io.IOException
I do my test an a Bold with the mobile connection off and Wi-Fi on and well configured.
I can browse Internet with the Blackberry Browser.
When I go to Options > Advanced Options > Browser. In "default browser configuration, I have only 1 option : "Hotspot Browser". I don't know if it's usefull for my problem.
Thanks a lot.
11-26-2008 06:45 AM
What is the text associated with the IOException? Have you reset the Firewall as per presious post? Is your applciatin signed? What level JDE did you use to develop the app? Is the request being issued from a background thread
11-26-2008 08:52 AM
The text is : java.io.IOException: Connection not writeable
I found the real problem.
I do :
HttpConnection connection = (HttpConnection) Connector.open(url, Connector.READ ); int res = connection.getResponseCode();
It doesn't work. But if I do :
HttpConnection connection = (HttpConnection) Connector.open(url); int res = connection.getResponseCode();
For me, the default mode was Connector.READ. But it seems there's a difference between Connector.open(url) and Connector.open(url,Connector.READ).
11-27-2008 04:02 AM