"net,rim.device.internal.io.CriticallOException: Critical tunnel failure" what does this error is?
The application is running perfect in device and simulator when i do use via eclipse, but when i will give cod file to client, it gives the following error, any idea?
this is the error:
net,rim.device.internal.io.CriticallOExc开发者_开发技巧eption: Critical tunnel failure
Create your network connection in another thread
new Thread(){
public void run(){
//connection stuff
}
}.start();
And add these settings to your url
String url += ";deviceside=true"
if(apn != null && !apn.trim.equals("")){
url += ";apn="+apn;
}
More information here http://supportforums.blackberry.com/t5/Java-Development/Critical-tunnel-failure/td-p/416396
精彩评论