05-04-2011 07:27 AM
05-09-2011 09:34 AM
Hello Siva,
Welcome to the forums!
The term "Push" refers to sending data from the server to the device without the device needing to be aware that new data is available. So in that sense Push is not supported from the device. You can, however, send data from the device to any server using a standard Java network connection (HTTP, UDP, Socket etc).
Regards,
05-09-2011 10:37 AM
Hi Garett,
Thank you for your reply.
I am interested to know if MDS can be used to send data from BB device TO a Server app, rather than using HTTP, UDP, Socket etc. The reason for prefering MDS is that it supports roaming automatically but that wont be the case with HTTP, UDP, Socket etc ( thats my understaning, is that correct? ).
So can MDS be used to send data from BB device TO a Server app or BES?
Thanks
Siva
05-09-2011 10:42 AM
Hi Siva,
MDS is a transport route whereas HTTP, Socket, UDP etc are connection types. A few other transport routes that may clarify the role of MDS would be WiFi and Direct TCP (through the carrier network). You can connect using an HTTP connection through BES MDS if the user is connected to a BES.
I'm not entirely sure what you mean by "it supports roaming automatically", could you please clarify?
Thanks,
05-09-2011 12:02 PM
Hi Garett,
Now its more clearer to me. I initially thought MDS was kind of a ( higher level ) connection type ( similar to HTTP, TCP Socket, UDP but provided as some kind of Blackberry Middleware API ).
Now I understand MDS to be a transport route ( i.e gateway ). ( correct me if wrong )
What i meant by "MDS supports roaming automatically" : >>>
for e.g
- TCP socket connectivity using the BlackBerry MDS ( Provides Seamless support for roaming)
where as
- TCP socket connectivity using a service provider-hosted IP gateway ( No, Seamless support for roaming )
So now I take that it should be possible to send data from BB device TO my own server app using TCP socket connectivity using the BlackBerry MDS , is that correct?
If so, is there any sample demo code or pointers available ?
Thanks
Siva
05-09-2011 12:38 PM
Hi Siva,
You can take a look at the SocketDemo sample that's included with any of the BlackBerry Java Development environments. The following article will also be sueful to explain how you can force the network connection to occur through MDS, if available:
Regards,
05-09-2011 12:54 PM
Hi Garett,
Thank you very much for clarifying and for the pointers. This should get me started in the right direction
Regards
Siva