Blackberry Local连接在~120000之后超时

时间:2013-03-06 21:38:57

标签: blackberry java-me httpconnection

我有以下代码,工作正常:

HttpConnection request =
    (HttpConnection) Connector.open("https://www.google.com");
// It locks at the following line until an exception is thrown 
int responseCode = request.getResponseCode();

突然间,它开始在getResponseCode()行阻塞,直到抛出异常,并显示以下消息:

Local connection timed out after ~ 120000

一切都发生在模拟器中,我启用了MDS。

0 个答案:

没有答案