03-24-2013 01:54 PM
We are building a BlackBerry App that allows the App users to do Music download and Music Streaming.
Would like to know how to make this App to use BIS(BlackBerry Internet Service) plan on the device instead of using WAP plan.
Do we need to do anything in the App to make use of BIS (if its avaiable) instead of WAP? Any registration or approval from BB needed? Is PUSH registration helps? Is Carrier approval is needed(doesn't make sense!?)?
Can anyone point me to the right information on how to address this issue? Am sure this must have been a common issue for most of the Apps that are in the AppWorld.
03-25-2013 09:22 PM
The usual question: what kind of technology do you use to develop your app? BBJava, Cascades, AIR, WebWorks?
03-26-2013 12:26 AM
I guess you develop for OS5.0 and higher. Take a look at class ConnectionFactory, method setPreferredTransportTypes
In general BB always tries to use WiFi if possible, since it means less charges for the user. If you have further questions about implementation, please ask in the Java Dev forum
03-26-2013 12:42 AM
Thanks for the info.
Do you think we need to explicity specify the BIS_B transport type to default the internet connection to BIS? OR will it do automatically?
Some references here in this thread:
03-26-2013 01:03 AM
IMO you need to put BIS before WAP in your TransportTypes array, at least the docs say so
Retrieves the set of preferred transport types used by the factory when attempting to get a connection. Note that the transport types are tried in the natural order of the array.
The topic you mentioned discusses BIS vs MDS (which is the corporate thingy), IMO there is no such issue for WiFi, i.e. if you define BIS first, the app should go over BIS.
05-08-2013 08:34 PM
Here is what we have tried - to see if the BIS connection was used but with no luck!
It still doesn't use BIS and its deducting the user's currency.
Any other suggestion on how to fix it?
_factory = new ConnectionFactory();
Thank you for your suggestions!