Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com


Reply
Developer
Posts: 51
Registered: ‎08-07-2008
My Device: Not Specified

MDS and Socket

I builded an application that use socket connection with or without wifi all work good. The actual my connection socket is:

 

 

               if (_hs._settings._cfgWifi)
                  sConnection = "socket://"+_uploader.getDefaultHost()+":"+_uploader.getDefaultPort()+ ";DeviceSide=True;interface=wifi";
               else
                  sConnection = "socket://"+_uploader.getDefaultHost()+":"+_uploader.getDefaultPort()+ ";DeviceSide=True;";

 

 

Now a few users I can't use my application because them Blackberry devices use MDS. My question is can  I use direct socket connection with MDS ? which kind of changes I need to do ?

 

thanks

Stefano

 

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: MDS and Socket

Replace ";DeviceSide=True;interface=wifi" or ;DeviceSide=True" with "";DeviceSide=false",

 

Review the following for further information.

 

What Is - Different ways to make an HTTP or socket connection
DB-00396

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

 

 

Network Transports video:

http://na.blackberry.com/eng/developers/resources/videolibrary.jsp#tab_ddetail_subtab_jde