开发者

Connector.open throws IO when using 3g

I'm using the javax microedition Connector class to initialise a HttpConnection. This doesn't work with 3g while it works with wifi.

HttpConnection connection = (HttpConnection) Connector.open("http://ww开发者_开发知识库w.google.com",Connector.READ);

I'm trying to solve this by detecting 3g. Can this be done?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜