03-01-2010 05:33 PM
I was told today that my blackberry application will have to send GPS information to a server using UDP protocol. I have seen people complaining about issues with UDP. What really are the pros e cons of using UDP on a BB application?
Do all the carriers support UDP?
Do all the OS versions support UDP?
Btw, I am using OS 4.2.
Thanks
Fabio Pinto
03-01-2010 05:49 PM
I don't think os 4.2 supports udp.
There is no problem with udp. Only that UDP does not guarantee data delievery.
03-01-2010 09:31 PM
Could you please tell me where can I find whether or not OS 4.2 supports UDP?
03-02-2010 04:39 AM
No problem. UDP is in there for a while:
UDPDatagramConnection
Since: JDE 4.0.0
03-02-2010 06:24 AM - last edited on 03-02-2010 06:25 AM
1. UDP definitely works fine for v4.5.0.83+, and v4.6+ (including 5.0) handhelds.
2. UDP doesn't always work fine in simulators. For example, it works fine in the Curve 8900 simulator that comes with JDE v4.6.1.
3. UDP isn't (yet?) supported for BIS, MDS, WAP 1.x, WAP 2.x transports. It is only supported for Direct TCP (Carrier TCP) and Wi-Fi TCP transports. The "TCP" suffx in these names is a misnomer.
4. Sending large UDP datagrams (with payload larger than 1200-1300 bytes) might not work (with or without exceptions).