开发者

Could not select proper Transport Descriptor in blackberry

Here code of my project. I use direct Tcp connection But i get "Could not select proper Transport Descriptor" error.

 BrowserFieldConfig myBrowserFieldConfig = new开发者_JAVA技巧 BrowserFieldConfig();


myBrowserFieldConfig.setProperty(BrowserFieldConfig.NAVIGATION_MODE,BrowserFieldConfig.NAVIGAION_MODE_POINTER);
    BrowserField browserField = new BrowserField(myBrowserFieldConfig);


    add(browserField);
    browserField.requestContent("http://www.google.co.in;deviceside=true");

Thanks in advance.


You can find another thread about it here; if it's on the simulator, tweaking your dns settings might help.


Some times "Could not select proper Transport Descriptor" error may occur because of missing slash in web link.Add slashes if you did not add slashes in your link.

Might be the problem will solve.If your link like

https://geniuscloud.net/mobileapp/api/view1 change it to

https://geniuscloud.net/mobileapp/api/view/1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜