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

Reply
Developer
stefano
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

 

Please use plain text.
Developer
peter_strange
Posts: 19,601
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

 

Please use plain text.