I came across this “life-saver” helper class, it helps auto detect the appropriate connection type to use when making connections using the blackberry networking classes. I’ve spent a ton of time debugging issues in applications and this class really has helped. I didn’t write it, but I want to point other BB developers towards it.
http://www.versatilemonkey.com/blog/index.php/2009/06/24/networking-helper-class/