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.
03-02-2010 04:39 AM
No problem. UDP is in there for a while:
Since: JDE 4.0.0
03-02-2010 06:24 AM - edited 03-02-2010 06:25 AM
1. UDP definitely works fine for v188.8.131.52+, 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).