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