HttpConnection sc = (HttpConnection) Connector.open("http://10.0.0.172:80/" + 应用地址, Connector.READ, true);
sc.setRequestProperty("X-Online-Host", 主机地址);
sc.setRequestProperty("Accept", "*/*");
J2ME通过CMWAP进行网络连接
最新推荐文章于 2024-08-16 18:41:12 发布
HttpConnection sc = (HttpConnection) Connector.open("http://10.0.0.172:80/" + 应用地址, Connector.READ, true);
sc.setRequestProperty("X-Online-Host", 主机地址);
sc.setRequestProperty("Accept", "*/*");