【发布时间】:2011-04-25 10:08:50
【问题描述】:
我的 BlackBerry 应用程序打开 BB 浏览器为用户显示网页。
有 BlackBerry KB 文档 "How to - Invoke the browser" 说明如何操作。
文档说有以下类型的传输可供选择:
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;
我的问题是如何使用 Direct TCP。可能有一些 SERVICE_RECORD_CONFIG_DIRECT_TCP 值?
附言
如果我只是通过Browser.getDefaultSession() 获取默认 BrowserSession,它使用 BES/MDS 传输。
【问题讨论】:
标签: browser blackberry transport