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.
01-07-2009 02:14 AM
01-07-2009 04:20 AM
Have you done what Mark suggested and appended
to your URL?
I believe this requirement is is also noted in the Network Transports video which I recommend you review if you have not done so. You can find it here:
01-07-2009 05:47 AM
Sorry. I thought ;interface=wifi is applicable to socket connection only coz in example it is mentioned like that.
By simply appending this string in url, the httpConnection can work in wifi also. In that case my url become
is that correct?
01-08-2009 12:39 AM
The RadioInfo class retuns the available network. If I get NETWORK_802_11 then it is Wifi and if signal level is ok then i can use url for wifi else i can use url without wifi.
Is that correct?
01-08-2009 04:46 AM
This is something that I have not tested, so sorry I can't say it is correct, but I can see no reason why what you are suggesting would not work. If you try it and it does work, please let us know as this is something on my list of things to try.
However you probably don't have to be that clever because the BlackBerry device should automatically route requests over WiFi if it can. So you stick to ";deviceside=true" and it should go WiFi when it can. However you might want to give your user a "WiFi only" option and then checking it would be useful.
01-08-2009 06:11 AM
No my application will be running all devices. It may be wifi, edge, gprs, t-mobile anything. But one build is running on all the devices.
So you are saying by keeping deviceside=true it wll work for all wifi, gprs both.
01-08-2009 06:39 AM
Sorry I can't give you a definitive answer, because I don't work for Rim, so I'm not sure what the code is supposed to do, only what I have seen it do. Also note, because I am in the UK, which is GPRS only, I've not tested CDMA networks. I suggest you start a new Thread and ask the specific question, i.e. for a connection with ;deviceside=true, if the WiFi enabled phone does come into WiFi coverage, will it automatically route the request over WiFi?
01-12-2009 12:49 PM