Hi!
My BlackBerry app opens BB Browser to display a web page for users.
There is BlackBerry KB doc "How to - Invoke the browser" on how to do it.
The doc says there are the following types of transports to choose:
public static final int SERVICE_RECORD_CONFIG_TYPE_WAP = 0;
public static final int SERVICE_RECORD_CONFIG_TYPE_BES = 1;
public static final int SERVICE_RECORD_CONFIG_TYPE_WIFI = 3;
public static final int SERVICE_RECORD_CONFIG_TYPE_BIS = 4;
public static final int SERVICE_RECORD_CONFIG_TYPE_WAP2 = 7;
My question is how can I use Direct TCP. Probably there is some SERVICE_RECORD_CONFIG_DIRECT_TCP value?
P.S.
If I simply get the default BrowserSession by Browser.getDefaultSession()
, it uses BES/MDS transport.