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

New Contributor
Posts: 3
Registered: ‎02-18-2010
My Device: Bold
My Carrier: att

Blackberry and UDP protocol

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.



Fabio Pinto

Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: Blackberry and UDP protocol

I don't think os 4.2 supports udp.


There is no problem with udp. Only that UDP does not guarantee data delievery.

New Contributor
Posts: 3
Registered: ‎02-18-2010
My Device: Bold
My Carrier: att

Re: Blackberry and UDP protocol

Could you please tell me where can I find whether or not  OS 4.2 supports UDP?

Posts: 212
Registered: ‎07-18-2008
My Device: Storm 9550

Re: Blackberry and UDP protocol

No problem. UDP is in there for a while:



Since: JDE 4.0.0

If your problem was solved, please mark answer as "Accepted solution"
If your want to thank, click the "kudo" symbol
visit me: http://mobilejavadevelopment.blogspot.com/
visit the Berlin BlackBerry Developer Group: http://berlinblackberrydevelopers.blogspot.com/
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Blackberry and UDP protocol

[ Edited ]

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).