黑莓网络连接 [英] Blackberry Network connection
本文介绍了黑莓网络连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试通过Wi-Fi连接,但OS6 cd变量为null却有问题,但在OS5上有效
Trying to connect via Wi-Fi and I have an issue with the OS6 cd variable is null but it works on OS5
这是网址Strng: https://api3.popfax.com/index.php?service=Popfax;interface=wifi;interface=wifi
This is the url Strng: https://api3.popfax.com/index.php?service=Popfax;interface=wifi;interface=wifi
public ServiceConnectionBlackBerry(String s) throws IOException {
ConnectionFactory cf = new ConnectionFactory();
ConnectionDescriptor cd = cf.getConnection(s);
if (cd!=null){
connection = (HttpConnection) cd.getConnection();
}else {
System.out.println("Strng: "+s);}
}
有人可以帮忙吗?
推荐答案
打开Wi-Fi HTTPS连接可能会为您提供帮助.
Open a Wi-Fi HTTPS connection may help you.
谢谢
这篇关于黑莓网络连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文