BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-21-2010, 01:14 PM   #1 (permalink)
New Member
 
Join Date: Jun 2010
Model: 9000
PIN: N/A
Carrier: yui
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Edge Connection String Error,

Please Login to Remove!

Hi,

I develop ksoap application with blackberry. I have 8520.
My application works with wifi, but doesnt works with edge connection.
I tried below connection strings. But doesnt work.
Can you help me?

PHP Code:
 public String getHTTPAdd() {
        
String serviceUrl "";
        if (
radio.isSelected() == true){
            
setIsConStr(";interface=wifi"); 
            
serviceUrl "ttp://localhost/test/test.asmx";
        }
        else if (
radio2.isSelected() == true){
            
setIsConStr(";interface=wifi;deviceside=true");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }else if (
radio3.isSelected() == true){
            
setIsConStr(";19780/rim.net.gprs");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio4.isSelected() == true){
            
setIsConStr(";XXXXXXXXXXXXXXXX");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio5.isSelected() == true){
            
setIsConStr(";deviceside=true");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio6.isSelected() == true){
            
setIsConStr(";deviceside=false");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else if (
radio7.isSelected() == true){
            
setIsConStr(";deviceside=false;ConnectionType=mds-public");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        else{
            
setIsConStr(";rim.net.gprs");
            
serviceUrl "ttp://myhost:3000/test/test.asmx";
        }
        return 
serviceUrl;
    } 

Also, i tried this example,
PHP Code:
setIsConStr(";deviceside=true;ConnectionUID=" +uid+";ConnectionType=mds-public"); 
PHP Code:
setIsConStr(";deviceside=false;ConnectionUID=" +uid+";ConnectionType=mds-public"); 
PHP Code:
setIsConStr(";deviceside=true;ConnectionUID=" +uid+""); 
PHP Code:
setIsConStr(";deviceside=false;ConnectionUID=" +uid+""); 
And, againly doesnt works.

(as an additional info, I use KSOAP Api to call Webservice)

Last edited by robmind : 07-21-2010 at 01:20 PM.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Original OriAKER Ak38 Waistband Portable PA Voice Amplifier Booster MP3 F1
$53.99
Original OriAKER Ak38 Waistband Portable PA Voice Amplifier Booster MP3 F1 picture50*58*24mm PCB Instrument Aluminum Box for Wireless/Amplifier/etc.
$2.99
50*58*24mm PCB Instrument Aluminum Box for Wireless/Amplifier/etc. pictureWAFER MMIC 6000 PCs AMMC6220 6 - 20GHz low noise amplifier LOT OF 6000 DIE
$3750.0
WAFER MMIC 6000 PCs AMMC6220 6 - 20GHz low noise amplifier LOT OF 6000 DIE  pictureRF Power amplifier Miteq 100MHz - 1.7GHz 25dBm N.F 3dB AFS1-00010100-30-25P
$179.0
RF Power amplifier Miteq 100MHz - 1.7GHz 25dBm N.F 3dB AFS1-00010100-30-25P pictureRF Amplifier 300MHz - 2GHz 30dB 20dBm 12V/200mA P60767
$89.0
RF Amplifier 300MHz - 2GHz 30dB 20dBm 12V/200mA P60767 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.