开发者

Could not select proper Transport Descriptor in blackberry

开发者 https://www.devze.com 2023-04-05 07:04 出处:网络
Here code of my project. I use direct Tcp connection But i get \"Could not select proper Transport Descriptor\" error.

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

精彩评论

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

关注公众号