ブラックベリー アプリケーションの httpconnection を実行したいと考えています。私は次のようなURLを使用しています
http://ip:port/prueba.php;deviceside=true
Wi-Fi でデバイスに使用する場合は、interface=wifi を追加します。
しかし、EDGE経由で接続しない理由がわかりません。他にできることはありますか?あなたが申請書に署名したと聞きましたが、私にはそれが理解できません。
ブラックベリー アプリケーションの httpconnection を実行したいと考えています。私は次のようなURLを使用しています
http://ip:port/prueba.php;deviceside=true
Wi-Fi でデバイスに使用する場合は、interface=wifi を追加します。
しかし、EDGE経由で接続しない理由がわかりません。他にできることはありますか?あなたが申請書に署名したと聞きましたが、私にはそれが理解できません。
使用: ";deviceside=true;ConnectionUID="+ srTCP.getUid()
private ServiceRecord srTCP;
private void init()
{
ServiceBook sb = ServiceBook.getSB();
ServiceRecord[] records = sb.getRecords();
for (int i = 0; i < records.length; i++)
{
ServiceRecord myRecord = records[i];
String cid, uid;
if (myRecord.isValid() && !myRecord.isDisabled())
{
cid = myRecord.getCid().toLowerCase();
uid = myRecord.getUid().toLowerCase();
if (cid.indexOf(WPTCP_STR) != -1 && uid.indexOf(WIFI_STR) == -1 && uid.indexOf(MMS_STR) == -1)
{
String httpProxyAddress = getDataString(myRecord, BYTE_PROXY_ADDRESS);
if ((httpProxyAddress == null) || StringUtils.isBlank(httpProxyAddress.trim()))
{
srTCP = myRecord;
}
}
}
}
}