Hi,
I have created app by DAD and running BB application on device but it uses GPRS not WI-FI well even though i have enabled both GPRS-WIFI on device it doesnt use wi-fi transport. I have seen following code in generated code API's :
/**
Returns list of transports available on blackberry device. This list may
include 0 or more from the following transports: <br>
BES, BIS, TCP, WAP1.0, WAP2.0, WIFI, UNITE
<p>
While setting transport for synchronization user should check for the
suffificient coverage using {@link isCoverageSufficient()} and set the
transport in sycnhronization profile as follows:
<p>
<code>
if(MyDatabase.isCoverageSufficient("WIFI"))
{
MyDatabase.getSynchronizationProfile().setString("transport", "WIFI");
MyDatabase.synchronize();
}
</code>
@return
*/
well i dont know where to add this code to affect whole application to use wi-fi. Anyone if has experience on it could please help me.
Regards
Tahir
Edited by: ozmrdn on Mar 29, 2011 1:18 PM