It takes 40 seconds to get a ConnectionFactory connection on a CDMA phone

Hi, expert,

We use the ConnectionFactory to get a URL with the appropriate connection string. However, we discover that it took awhile to get a ConnectionDescriptor on a CDMA phone. The order of perference that we give is:

int [] preferredTransportTypes = {TransportInfo.TRANSPORT_TCP_WIFI,
TransportInfo.TRANSPORT_TCP_CELLULAR,
TransportInfo.TRANSPORT_WAP2,
TransportInfo.TRANSPORT_BIS_B};

If wifi is not configured, and return to us a connection with connection string WAP2 descriptor, which may take some time (up to 40 seconds). If the wifi is set up, we could get a descriptor very fast back connection with wifi as the connection string.

Reading online, it seems that there is no way to configure the TCP APN setting for CDMA phone which would mean that there is no TCP here.

So no idea why it is so slow to get WAP2 connection string? Any way to speed it up? Thanks in advance.

Have you tried putting WAP2 first and see if the delay is simply ConnectionFactory test other types of possible connections?

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for