07-28-2009 02:58 AM - last edited on 07-28-2009 05:30 AM
Hello all,
I am new to Java Development, I am learning to use the SocketConnection. From my understanding, we can add different parameters based on the following WAF (Wireless Access Families) to init our connection such as :
WiFi - interface=wifi
DirectTCP - deviceside=true
MDS - deviceside=false
But there is something I don't understand. For DirectTCP, it provides functions to let me choose my APN (GPRS? EDGE? or Any 3G data technologies) and connect via this interface, but for "MDS" I know that it will connect through the BES server but I don't understand what is the connection method that are used to connect to BES server? Are there any ways to choose the APN or media (GPRS, EDGE, HSPA etc) for MDS connection? Be honest, I am not sure if my fundamental concept is correct, please correct me if I am wrong...
Thank you very much.
07-28-2009 03:03 AM
Go through this sticky post of peter_strange.
http://supportforums.blackberry.com/rim/board/mess
Regards
Bikas
07-28-2009 03:06 AM - last edited on 07-28-2009 05:31 AM
Thank you for your help.
I have read it but I am still not quite understand about MDS
I know that SocketConnection will be made through the BES server (I treat it as a proxy server.), but I wonder how can I specify which connection method (WiFi/GPRS etc) to connect to the BES server?
07-28-2009 03:19 AM
hey try watching this:
http://www.blackberry.com/DevMediaLibrary/view.do?
this made things clearer for me.
07-28-2009 03:31 AM
I have watched this video before, I think it can't answer my question.
Can I control what connection methods (GPRS/WiFi/Other 3G technology) to connect MDS ? (or my statement is totally wrong)
07-28-2009 03:43 AM
07-28-2009 04:09 AM
These are the network transport to choose from:
1. wifi
2. direct TCP
3. BES/MDS
4. WAP
5. BIS
BES/MDS is one way of connecting to an application server or webserver. and direct TCP(where you set the APN) is a different thing. so basically it's either you connect to wifi, connect using direct tcp(apn) or connect to BES/MDS etc..