0

The following code works fine on the simulator, but when I deploy it to the BlackBerry device I'm not able to connect, am I doing something wrong?

URL = "socket://" + server + ":" + port + ";deviceside=true;apn=internet;tunnelauthusername=;tunnelauthpassword="; 
conn = (StreamConnection) Connector.open(URL);
Francescu
  • 16,974
  • 6
  • 49
  • 60
david
  • 1